summaryrefslogtreecommitdiffstats
path: root/drivers/cdrom/cdrom.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-05-05 02:05:03 +0200
committerJens Axboe <axboe@fb.com>2014-05-05 22:58:05 +0200
commite3b6b9ef61f41d0c79f7a1341679ad4b20d7e788 (patch)
treefc6b6930537325166c7007286abb0d1889db2751 /drivers/cdrom/cdrom.c
parentcdrom: convert cdinfo to cd_dbg (diff)
downloadlinux-e3b6b9ef61f41d0c79f7a1341679ad4b20d7e788.tar.xz
linux-e3b6b9ef61f41d0c79f7a1341679ad4b20d7e788.zip
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/cdrom.c')
-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 { \
a lot of places. This macro makes the code more clear. */
#define CDROM_CAN(type) (cdi->ops->capability & ~cdi->mask & (type))
-/* used in the audio ioctls */
-#define CHECKAUDIO if ((ret=check_for_audio_disc(cdi, cdo))) return ret
-
/*
* Another popular OS uses 7 seconds as the hard timeout for default
* commands, so it is a good choice for us as well.