at86rf230: remove unnecessary / dead code
authorSascha Herrmann <sascha@ps.nvbi.de>
Thu, 4 Apr 2013 11:02:00 +0000 (11:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2013 16:00:16 +0000 (12:00 -0400)
commitf8075a8c946d11e17bb5d837e2a032206f26ec70
tree7dc87762f7f63dab23507ca3a2a45df3b1e331f5
parent07783f39e1433574cff20ca774684c3921162b59
at86rf230: remove unnecessary / dead code

In at86rf230_probe() lp was first set to dev->priv and a few lines later
dev->priv was set to lp again, without changing lp in between. The call
to ieee802154_unregister_device() before err_irq: was unreachable.

Signed-off-by: Sascha Herrmann <sascha@ps.nvbi.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c