staging: line6: Use kmemdup rather than duplicating its implementation
authorLaurent Navet <laurent.navet@gmail.com>
Mon, 3 Dec 2012 13:20:25 +0000 (14:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:00:35 +0000 (14:00 -0800)
commit77ecb6fe6dce7a726b374665fe1b74cc5cac30fd
treed03381ee7cbc71d8569df6fac60e9ba1b58e462f
parenta37629024975714f1e2fa9851b7f77cd1bad0790
staging: line6: Use kmemdup rather than duplicating its implementation

staging: line6: driver.c
 The semantic patch that makes this output is available
 in scripts/coccinelle/api/memdup.cocci.

Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/line6/driver.c