Commit ffe63c1e authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] (20/25) cdu31a.c cleanup

	minor cleanup in cdu31a.c
parent ac26e454
......@@ -331,12 +331,11 @@ static struct timer_list cdu31a_abort_timer;
from the abort read. */
static int abort_read_started = 0;
/*
* This routine returns 1 if the disk has been changed since the last
* check or 0 if it hasn't.
* Uniform cdrom interface function
* report back, if disc has changed from time of last request.
*/
static int scd_disk_change(kdev_t full_dev)
static int scd_media_changed(struct cdrom_device_info *cdi, int disc_nr)
{
int retval;
......@@ -346,15 +345,6 @@ static int scd_disk_change(kdev_t full_dev)
return retval;
}
/*
* Uniform cdrom interface function
* report back, if disc has changed from time of last request.
*/
static int scd_media_changed(struct cdrom_device_info *cdi, int disc_nr)
{
return scd_disk_change(cdi->dev);
}
/*
* Uniform cdrom interface function
* report back, if drive is ready
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment