diff options
author | Muhammad Falak R Wani <falakreyaz@gmail.com> | 2016-05-19 19:38:33 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-07-12 23:16:31 -0400 |
commit | 22e9f5a61666ed1145a09fbe49ac1a6f2ae7be8e (patch) | |
tree | 69489981f43bbff21ce270e1356d6f199f9a6389 /drivers/scsi/ufs/ufshcd-dwc.c | |
parent | 014e8ba76ec3d6e75ab1811ea471e647a0b5dd92 (diff) |
aacraid: use kmemdup
Use kmemdup when some other buffer is immediately copied into allocated
region. It replaces call to allocation followed by memcpy, by a single
call to kmemdup.
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Reviewed-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshcd-dwc.c')
0 files changed, 0 insertions, 0 deletions