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

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
...@@ -339,9 +339,6 @@ do { \ ...@@ -339,9 +339,6 @@ do { \
a lot of places. This macro makes the code more clear. */ a lot of places. This macro makes the code more clear. */
#define CDROM_CAN(type) (cdi->ops->capability & ~cdi->mask & (type)) #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 * Another popular OS uses 7 seconds as the hard timeout for default
* commands, so it is a good choice for us as well. * commands, so it is a good choice for us as well.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment