Skip to content

Commit

Permalink
at86rf230: remove unnecessary spi_set_drvdata
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alexander Aring authored and David S. Miller committed Apr 26, 2014
1 parent 1962694 commit 57e48ff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ieee802154/at86rf230.c
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,6 @@ static int at86rf230_probe(struct spi_device *spi)

err_hw_init:
flush_work(&lp->irqwork);
spi_set_drvdata(spi, NULL);
mutex_destroy(&lp->bmux);
ieee802154_free_device(lp->dev);

Expand Down

0 comments on commit 57e48ff

Please sign in to comment.