patch-2.4.5 linux/drivers/cdrom/cdrom.c
Next file: linux/drivers/cdrom/sbpcd.c
Previous file: linux/drivers/block/xd.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri May 4 15:09:23 2001
- Orig file:
v2.4.4/linux/drivers/cdrom/cdrom.c
- Orig date:
Thu Mar 29 11:56:07 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/cdrom/cdrom.c linux/drivers/cdrom/cdrom.c
@@ -2626,7 +2626,8 @@
static void cdrom_sysctl_unregister(void)
{
- unregister_sysctl_table(cdrom_sysctl_header);
+ if (cdrom_sysctl_header)
+ unregister_sysctl_table(cdrom_sysctl_header);
}
#endif /* CONFIG_SYSCTL */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)