Skip to content
Commit c0ff7e2c authored by Meng Xu's avatar Meng Xu Committed by Martin K. Petersen
Browse files

scsi: mpt3sas: remove redundant copy_from_user in _ctl_getiocinfo



Since right after the user copy, we are going to memset(&karg, 0,
sizeof(karg)), the copy_from_user is redundant

Signed-off-by: default avatarMeng Xu <mengxu.gatech@gmail.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 08eb7f45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment