commit | 22e9f5a61666ed1145a09fbe49ac1a6f2ae7be8e | [log] [tgz] |
---|---|---|
author | Muhammad Falak R Wani <falakreyaz@gmail.com> | Thu May 19 19:38:33 2016 +0530 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jul 12 23:16:31 2016 -0400 |
tree | 69489981f43bbff21ce270e1356d6f199f9a6389 | |
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>