Commit e3b6b9ef authored by Joe Perches's avatar Joe Perches Committed by Jens Axboe
Browse files

cdrom: Remove unused CHECKAUDIO macro



It's unused, make it disappear.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 5944b2ce
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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.