diff options
author | Silviu-Mihai Popescu <silviupopescu1990@gmail.com> | 2013-03-11 17:22:32 +0100 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-05-05 05:08:19 +0200 |
commit | f7f7c1850eb98da758731ea7edfa830ebefe24cd (patch) | |
tree | 78e8199747533ec4b78e27fd739ea68ebf13a171 /fs/cifs/cifs_dfs_ref.c | |
parent | cifs: replaced kmalloc + memset with kzalloc (diff) | |
download | linux-f7f7c1850eb98da758731ea7edfa830ebefe24cd.tar.xz linux-f7f7c1850eb98da758731ea7edfa830ebefe24cd.zip |
fs: cifs: use kmemdup instead of kmalloc + memcpy
This replaces calls to kmalloc followed by memcpy with a single call to
kmemdup. This was found via make coccicheck.
Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifs_dfs_ref.c')
0 files changed, 0 insertions, 0 deletions