--- a/kernel/ksb26.c 2005-09-27 11:58:19.000000000 -0500 +++ ksb26/kernel/ksb26.c 2008-09-09 21:25:08.000000000 -0500 @@ -121,8 +121,7 @@ static void __exit modcleanup(void) { - if(unregister_chrdev(ksb26_major, KSB26_DEV_NAME) < 0) - printk("[%s] Cannot unregister device %s.\n", MODNAME, KSB26_DEV_NAME); + unregister_chrdev(ksb26_major, KSB26_DEV_NAME); if(unpatch_unix_stream_connect() == -1) { printk("[%s] Warning: failed to unpatch unix_stream_connect.\n", MODNAME); return;