mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
s390: remove unneeded sizeof(void *) comparisons
Remove two more statements which always evaluate to 'false'. These are more leftovers from the 31 bit era. Signed-off-by: Heiko Carstens <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
a69db2f6ad
commit
92d6289105
2 changed files with 2 additions and 2 deletions
|
|
@ -3989,7 +3989,7 @@ static int dasd_symm_io(struct dasd_device *device, void __user *argp)
|
|||
rc = -EFAULT;
|
||||
if (copy_from_user(&usrparm, argp, sizeof(usrparm)))
|
||||
goto out;
|
||||
if (is_compat_task() || sizeof(long) == 4) {
|
||||
if (is_compat_task()) {
|
||||
/* Make sure pointers are sane even on 31 bit. */
|
||||
rc = -EINVAL;
|
||||
if ((usrparm.psf_data >> 32) != 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue