[PARISC] Fix double free when removing HIL drivers
[linux-2.6.git] / drivers / input / keyboard / hilkbd.c
index 452c5f3..33edd03 100644 (file)
@@ -334,7 +334,6 @@ static void __exit hil_exit(void)
 
        input_unregister_device(hil_dev.dev);
 
-       input_free_device(hil_dev.dev);
        hil_dev.dev = NULL;
 
 #if defined(CONFIG_PARISC)