KVM: Use kmemdup rather than duplicating its implementation
authorThomas Meyer <thomas@m3y3r.de>
Tue, 8 Nov 2011 19:32:19 +0000 (20:32 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:17:11 +0000 (11:17 +0200)
commit6da64fdb8c0c683016b70c96200057347aa8fbb0
treee9b6650625def2f92fb49dfdf511647ca27b7d56
parentfb92045843a8cd99c7b843d9b567a680a3854ba1
KVM: 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.

 More information about semantic patching is available at
 http://coccinelle.lip6.fr/

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/kvm_main.c