staging: hv: Use kmemdup rather than duplicating its implementation
authorThomas Meyer <thomas@m3y3r.de>
Sat, 12 Nov 2011 12:21:49 +0000 (13:21 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 01:03:56 +0000 (17:03 -0800)
commit27b7923035f737a7e6384d0084e34706ea068040
tree5e3a3d0eebe78450985a8b1768632d23a146fa6d
parentb401731985bfa7c02e4e5673a151b29ae7180fce
staging: hv: Use kmemdup rather than duplicating its implementation

Use kmemdup rather than duplicating its implementation

The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/hv_mouse.c
drivers/staging/hv/netvsc.c