summaryrefslogtreecommitdiff
path: root/arch/s390/boot/startup.c
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2023-03-31 11:42:20 +0200
committerVasily Gorbik <gor@linux.ibm.com>2023-04-13 17:36:27 +0200
commit26300860c2be489fa8c919e55fba28fa782cbb1e (patch)
tree4c2df445ccd5b396b0ea20650ea817aa8b66c464 /arch/s390/boot/startup.c
parent3cdf0269cdc2c4728b71af4199823b6284379d42 (diff)
s390/cpum_cf: remove unnecessary copy_from_user call
Struct s390_ctrset_read userdata is filled by ioctl_read operation using put_user/copy_to_user. However, the ctrset->data value access is not performed anywhere during the ioctl_read operation. Remove unnecessary copy_from_user() call. No functional change. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Suggested-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/boot/startup.c')
0 files changed, 0 insertions, 0 deletions