summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-08 08:26:19 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-07-08 08:26:19 +0200
commitea33affdbd8d71fab71e3f62845b9239d6f60ff8 (patch)
treee0e99b43f896b3323ef7f7386e6ea4666f1b1bf7 /linux/drivers/media/dvb/cinergyT2/cinergyT2.c
parent1e35850ac2509c324478d38091880e60ab28795f (diff)
downloadmediapointer-dvb-s2-ea33affdbd8d71fab71e3f62845b9239d6f60ff8.tar.gz
mediapointer-dvb-s2-ea33affdbd8d71fab71e3f62845b9239d6f60ff8.tar.bz2
v4l-dvb: remove support for kernels < 2.6.13
From: Hans Verkuil <hverkuil@xs4all.nl> Phase 3 of the compat cleanup. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/dvb/cinergyT2/cinergyT2.c')
-rw-r--r--linux/drivers/media/dvb/cinergyT2/cinergyT2.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
index 651df056e..e1d76b111 100644
--- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
+++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
@@ -1086,12 +1086,6 @@ static int cinergyt2_suspend (struct usb_interface *intf, pm_message_t state)
if (mutex_lock_interruptible(&cinergyt2->wq_sem))
return -ERESTARTSYS;
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
- if (state <= 0) {
- mutex_unlock(&cinergyt2->wq_sem);
- return 0;
- }
-#endif
cinergyt2_suspend_rc(cinergyt2);
cancel_rearming_delayed_work(&cinergyt2->query_work);