瀏覽代碼

at86rf230: remove unnecessary spi_set_drvdata

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Alexander Aring 11 年之前
父節點
當前提交
57e48ffce9
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/net/ieee802154/at86rf230.c

+ 0 - 1
drivers/net/ieee802154/at86rf230.c

@@ -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);