patch-1.3.65 linux/drivers/cdrom/sbpcd.c

Next file: linux/drivers/char/Config.in
Previous file: linux/drivers/cdrom/mcd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.64/linux/drivers/cdrom/sbpcd.c linux/drivers/cdrom/sbpcd.c
@@ -5374,11 +5374,6 @@
 {
 	int j;
 	
-	if (MOD_IN_USE)
-	{
-		msg(DBG_INF, "%s module in use - can't remove it.\n", major_name);
-		return;
-	}
 	if ((unregister_blkdev(MAJOR_NR, major_name) == -EINVAL))
 	{
 		msg(DBG_INF, "What's that: can't unregister %s.\n", major_name);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this