]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
cdrom: Remove unused CHECKAUDIO macro
authorJoe Perches <joe@perches.com>
Mon, 5 May 2014 00:05:03 +0000 (17:05 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 5 May 2014 20:58:05 +0000 (14:58 -0600)
It's unused, make it disappear.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/cdrom/cdrom.c

index 3828c9212d88c96b9c1f71c70212c7d626db04c6..8eaba535d2b27e31f935fe2625e36d759726a7a2 100644 (file)
@@ -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.