irttp: 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>
Mon, 21 Nov 2011 20:02:17 +0000 (15:02 -0500)
commit8524b001a21747c7df5c5a8404f0fbf45661ea44
tree78d4675486899b9b49c84e968c90f98e28c99f40
parentefd0bf97deeddd9ba53daabfc470a1399c6b0b2d
irttp: 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>
net/irda/irttp.c