aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdrom
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-05-04 20:05:03 -0400
committerJens Axboe <axboe@fb.com>2014-05-05 16:58:05 -0400
commite3b6b9ef61f41d0c79f7a1341679ad4b20d7e788 (patch)
treefc6b6930537325166c7007286abb0d1889db2751 /drivers/cdrom
parent5944b2ce5778f2a9c5eb4805cf8569feb2b4ed49 (diff)
cdrom: Remove unused CHECKAUDIO macro
It's unused, make it disappear. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/cdrom')
-rw-r--r--drivers/cdrom/cdrom.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c
index 3828c9212d88..8eaba535d2b2 100644
--- a/drivers/cdrom/cdrom.c
+++ b/drivers/cdrom/cdrom.c
@@ -339,9 +339,6 @@ do { \
339 a lot of places. This macro makes the code more clear. */ 339 a lot of places. This macro makes the code more clear. */
340#define CDROM_CAN(type) (cdi->ops->capability & ~cdi->mask & (type)) 340#define CDROM_CAN(type) (cdi->ops->capability & ~cdi->mask & (type))
341 341
342/* used in the audio ioctls */
343#define CHECKAUDIO if ((ret=check_for_audio_disc(cdi, cdo))) return ret
344
345/* 342/*
346 * Another popular OS uses 7 seconds as the hard timeout for default 343 * Another popular OS uses 7 seconds as the hard timeout for default
347 * commands, so it is a good choice for us as well. 344 * commands, so it is a good choice for us as well.