summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-05-04 17:05:03 -0700
committerJens Axboe <axboe@fb.com>2014-05-05 14:58:05 -0600
commite3b6b9ef61f41d0c79f7a1341679ad4b20d7e788 (patch)
treefc6b6930537325166c7007286abb0d1889db2751 /drivers
parent5944b2ce5778f2a9c5eb4805cf8569feb2b4ed49 (diff)
downloadlinux-e3b6b9ef61f41d0c79f7a1341679ad4b20d7e788.tar.bz2
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')
-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.