Staging: lustre: Replace kzalloc followed by memcpy with kmemdup
authorNiranjan Dighe <ndighe@visteon.com>
Sun, 31 May 2015 05:39:07 +0000 (05:39 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 06:33:43 +0000 (15:33 +0900)
commitd5be8e1d559a76c22c49bd6770fd340558b21b81
tree5302a24aa194a3b24c0179e5aa5d4de7da4e2340
parentf8d199f246f06cec2568e5a5f3d6dc10850a4dfd
Staging: lustre: Replace kzalloc followed by memcpy with kmemdup

Replace kzalloc followed by memcpy by kmemdup. This patch was generated
by 'make coccicheck'

Signed-off-by: Niranjan Dighe <ndighe@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/obd_config.c