USB: Realtek cr: Use kmemdup rather than duplicating its implementation
authorThomas Meyer <thomas@m3y3r.de>
Thu, 10 Nov 2011 18:27:42 +0000 (19:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Nov 2011 18:21:55 +0000 (10:21 -0800)
commiteb545522944d9dcff66ff45d321bb6e6d44d0075
tree9befa976e0e31ba465dd58543b6e2aa067d1aac9
parentce3af89e761b413bef72b49f650fa0ae55f3b6d5
USB: Realtek cr: 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/usb/storage/realtek_cr.c