[PATCH] m920x fixes [6/10]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove bits of code we dont need.

Signed-of-by: Aapo Tahkola <aet@xxxxxxxxxxxxxx>

-- 
Aapo Tahkola
diff -r d0065a97812f linux/drivers/media/dvb/dvb-usb/m920x.c
--- a/linux/drivers/media/dvb/dvb-usb/m920x.c	Sat Mar 03 01:32:56 2007 +0200
+++ b/linux/drivers/media/dvb/dvb-usb/m920x.c	Sat Mar 03 01:33:12 2007 +0200
@@ -89,11 +89,6 @@ static int m9206_rc_query(struct dvb_usb
 	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
 	*state = REMOTE_NO_KEY_PRESSED;
 
 	unlock:
-#if 0
-	mutex_unlock(&d->i2c_mutex);
-#endif
 
 	return ret;
 }
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux