]> git.baikalelectronics.ru Git - kernel.git/commit
staging/csr: Use kmemdup rather than duplicating its implementation
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 25 Jan 2013 23:19:19 +0000 (00:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2013 04:22:16 +0000 (23:22 -0500)
commit0dc9da618486aaaad4e945e51a7559b46e4c7d6e
tree22dd88401f7c6614f979c2ce7ab5d66640743f57
parent2f84eb8e32a0df0d9efe85d0172bcb82df25309a
staging/csr: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/csr/drv.c