diff options
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/dmxdev.h')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dmxdev.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dmxdev.h b/linux/drivers/media/dvb/dvb-core/dmxdev.h index bb416e6c2..7e8137d0b 100644 --- a/linux/drivers/media/dvb/dvb-core/dmxdev.h +++ b/linux/drivers/media/dvb/dvb-core/dmxdev.h @@ -31,9 +31,7 @@ #include <linux/fs.h> #include <linux/string.h> #include "compat.h" -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include <linux/mutex.h> -#endif #include <linux/dvb/dmx.h> @@ -76,11 +74,7 @@ struct dmxdev_filter { struct dmxdev *dev; struct dvb_ringbuffer buffer; -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) struct mutex mutex; -#else - struct semaphore mutex; -#endif /* only for sections */ struct timer_list timer; @@ -106,11 +100,7 @@ struct dmxdev { struct dvb_ringbuffer dvr_buffer; #define DVR_BUFFER_SIZE (10*188*1024) -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) struct mutex mutex; -#else - struct semaphore mutex; -#endif spinlock_t lock; }; |