sparc: Use kmemdup rather than duplicating its implementation
authorThomas Meyer <thomas@m3y3r.de>
Thu, 17 Nov 2011 12:43:40 +0000 (12:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Dec 2011 18:46:56 +0000 (10:46 -0800)
commitf0a4cf31017ac8179a2fe295c1bd8e821d7674f4
tree1a640c00647cc7eb90d9849033071270f39f81d7
parente5fd47bfab2df0c2184cc0bf4245d8e1bb7724fb
sparc: 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: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ds.c
arch/sparc/kernel/prom_common.c