summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/opencores-kbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/opencores-kbd.c')
-rw-r--r--drivers/input/keyboard/opencores-kbd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/keyboard/opencores-kbd.c b/drivers/input/keyboard/opencores-kbd.c
index 7ac5f174c6f7..7b9b44158ad1 100644
--- a/drivers/input/keyboard/opencores-kbd.c
+++ b/drivers/input/keyboard/opencores-kbd.c
@@ -151,8 +151,6 @@ static int opencores_kbd_remove(struct platform_device *pdev)
input_unregister_device(opencores_kbd->input);
kfree(opencores_kbd);
- platform_set_drvdata(pdev, NULL);
-
return 0;
}