aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-bfin5xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-bfin5xx.c')
-rw-r--r--drivers/spi/spi-bfin5xx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/spi-bfin5xx.c b/drivers/spi/spi-bfin5xx.c
index 317f564c899c..68ca4449e36f 100644
--- a/drivers/spi/spi-bfin5xx.c
+++ b/drivers/spi/spi-bfin5xx.c
@@ -1418,9 +1418,6 @@ static int bfin_spi_remove(struct platform_device *pdev)
1418 1418
1419 peripheral_free_list(drv_data->pin_req); 1419 peripheral_free_list(drv_data->pin_req);
1420 1420
1421 /* Prevent double remove */
1422 platform_set_drvdata(pdev, NULL);
1423
1424 return 0; 1421 return 0;
1425} 1422}
1426 1423