scsi: esas2r: not need to alloc zero buffer for local_atto_ioctl
authorShawn Lin <shawn.lin@rock-chips.com>
Sun, 21 Aug 2016 02:33:29 +0000 (10:33 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 26 Aug 2016 02:27:32 +0000 (22:27 -0400)
commit67f251759ea28a1e803deda47de6e37d4857ba69
tree237bbec7d425dea96ef044ac6966b1a6c8f6078e
parent709ab231f8b4417411147dd9730928ba214d5c31
scsi: esas2r: not need to alloc zero buffer for local_atto_ioctl

We don't need to use kzalloc as we will always memset the
local_atto_ioctl later.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Acked-by: Bradley Grove <bgrove@attotech.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/esas2r/esas2r_main.c