]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/mailbox/mailbox-omap2.c
mailbox: remove unnecessary platform_set_drvdata()
[karo-tx-linux.git] / drivers / mailbox / mailbox-omap2.c
index eba380d7b17f18653818bdeedaa9f56386460af1..42d2b893ea67fff1096ce4b7567a247ed194c9c0 100644 (file)
@@ -325,7 +325,6 @@ static int omap2_mbox_remove(struct platform_device *pdev)
        kfree(privblk);
        kfree(mboxblk);
        kfree(list);
-       platform_set_drvdata(pdev, NULL);
 
        return 0;
 }