summaryrefslogtreecommitdiffstats
path: root/sys-utils/eject.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/eject.c')
-rw-r--r--sys-utils/eject.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys-utils/eject.c b/sys-utils/eject.c
index aa90ff72f..a38c5c38c 100644
--- a/sys-utils/eject.c
+++ b/sys-utils/eject.c
@@ -548,7 +548,6 @@ static int read_speed(const char *devname)
*/
static void list_speeds(struct eject_control *ctl)
{
-#ifdef CDROM_SELECT_SPEED
int max_speed, curr_speed = 0;
select_speed(ctl);
@@ -565,9 +564,6 @@ static void list_speeds(struct eject_control *ctl)
}
printf("\n");
-#else
- warnx(_("CD-ROM select speed command not supported by this kernel"));
-#endif
}
/*