aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdrom
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-26 15:25:07 -0400
commit8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch)
treeb851d4c1fdbd396379279e4475f7f778a667a208 /drivers/cdrom
parent7c69ef79741910883d5543caafa06aca3ebadbd1 (diff)
[PATCH] devfs: Remove devfs_remove() function from the kernel tree
Removes the devfs_remove() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/cdrom')
-rw-r--r--drivers/cdrom/sbpcd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/cdrom/sbpcd.c b/drivers/cdrom/sbpcd.c
index ee4499acf1a..55cbd23fd9c 100644
--- a/drivers/cdrom/sbpcd.c
+++ b/drivers/cdrom/sbpcd.c
@@ -5904,7 +5904,6 @@ static void sbpcd_exit(void)
5904 if (D_S[j].drv_id==-1) continue; 5904 if (D_S[j].drv_id==-1) continue;
5905 del_gendisk(D_S[j].disk); 5905 del_gendisk(D_S[j].disk);
5906 put_disk(D_S[j].disk); 5906 put_disk(D_S[j].disk);
5907 devfs_remove("sbp/c0t%d", j);
5908 vfree(D_S[j].sbp_buf); 5907 vfree(D_S[j].sbp_buf);
5909 if (D_S[j].sbp_audsiz>0) 5908 if (D_S[j].sbp_audsiz>0)
5910 vfree(D_S[j].aud_buf); 5909 vfree(D_S[j].aud_buf);
@@ -5915,7 +5914,6 @@ static void sbpcd_exit(void)
5915 } 5914 }
5916 vfree(D_S[j].sbpcd_infop); 5915 vfree(D_S[j].sbpcd_infop);
5917 } 5916 }
5918 devfs_remove("sbp");
5919 msg(DBG_INF, "%s module released.\n", major_name); 5917 msg(DBG_INF, "%s module released.\n", major_name);
5920} 5918}
5921 5919