From c7fd62dd920deee8c9dd20a3011cdd7c319ffe90 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Mon, 5 Mar 2007 16:57:27 -0500 Subject: m920x: remove unneeded code From: Aapo Tahkola Signed-off-by: Aapo Tahkola Signed-off-by: Michael Krufky --- linux/drivers/media/dvb/dvb-usb/m920x.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'linux/drivers/media/dvb') 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; } -- cgit v1.2.3