summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-03-05 16:57:27 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2007-03-05 16:57:27 -0500
commitc7fd62dd920deee8c9dd20a3011cdd7c319ffe90 (patch)
tree64c4783b54727e6bd096bec3d1606294e80498bd /linux/drivers/media/dvb
parent7dcb00e3587b844b2c2863f307e08bbeef1adc08 (diff)
downloadmediapointer-dvb-s2-c7fd62dd920deee8c9dd20a3011cdd7c319ffe90.tar.gz
mediapointer-dvb-s2-c7fd62dd920deee8c9dd20a3011cdd7c319ffe90.tar.bz2
m920x: remove unneeded code
From: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/m920x.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/m920x.c b/linux/drivers/media/dvb/dvb-usb/m920x.c
index 70a173b2b..fd4cab6a7 100644
--- a/linux/drivers/media/dvb/dvb-usb/m920x.c
+++ b/linux/drivers/media/dvb/dvb-usb/m920x.c
@@ -89,11 +89,6 @@ static int m9206_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
int i, ret = 0;
u8 rc_state[2];
-#if 0
- if (mutex_lock_interruptible(&d->i2c_mutex) < 0)
- return -EAGAIN;
-#endif
-
if ((ret = m9206_read(d->udev, M9206_CORE, 0x0, M9206_RC_STATE, rc_state, 1)) != 0)
goto unlock;
@@ -134,9 +129,6 @@ static int m9206_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
*state = REMOTE_NO_KEY_PRESSED;
unlock:
-#if 0
- mutex_unlock(&d->i2c_mutex);
-#endif
return ret;
}