staging/omapdrm: Use kmemdup rather than duplicating its implementation
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 25 Jan 2013 23:40:13 +0000 (00:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2013 04:22:16 +0000 (23:22 -0500)
commite6200964713e381cb19017ccf567a0fb886b9c6c
treeaed3d446fdc3c13705ef3a9ba44916e8cc5b705e
parent05014d73d68a0f5203fc78eb58e6d7e512581695
staging/omapdrm: Use kmemdup rather than duplicating its implementation

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

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_gem.c