aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/crypto/dcp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/dcp.c b/drivers/crypto/dcp.c
index eea194c34527..83eaefcefb64 100644
--- a/drivers/crypto/dcp.c
+++ b/drivers/crypto/dcp.c
@@ -876,7 +876,6 @@ static int dcp_remove(struct platform_device *pdev)
876 struct dcp_dev *dev; 876 struct dcp_dev *dev;
877 int j; 877 int j;
878 dev = platform_get_drvdata(pdev); 878 dev = platform_get_drvdata(pdev);
879 platform_set_drvdata(pdev, NULL);
880 879
881 dma_free_coherent(&pdev->dev, 880 dma_free_coherent(&pdev->dev,
882 DCP_MAX_PKG * sizeof(struct dcp_hw_packet), 881 DCP_MAX_PKG * sizeof(struct dcp_hw_packet),