staging: brcm80211: use kstrdup()
authorThomas Meyer <thomas@m3y3r.de>
Sat, 6 Aug 2011 09:17:20 +0000 (11:17 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:13:17 +0000 (13:13 -0700)
commitfe39f945bac555165962b58f0cafa5fbfa3d5724
tree2f093004a1511a364d3a4cc54c0e6b2b6dafed7a
parent5349d3d880cdfdeda918f6e84e490f2e86f9d810
staging: brcm80211: use kstrdup()

 Use kstrdup rather than duplicating its implementation

 The semantic patch that makes this output is available
 in scripts/coccinelle/api/kstrdup.cocci.

 More information about semantic patching is available at
 http://coccinelle.lip6.fr/

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/dhd_common.c