diff mbox

tuner-core: remove unused variable

Message ID 200905221825.34542.nsoranzo@tiscali.it (mailing list archive)
State Superseded
Delegated to: Douglas Landgraf
Headers show

Commit Message

Nicola Soranzo May 22, 2009, 4:25 p.m. UTC
Trivial fix for this warning, introduced by changeset 7f2eea75118b:

/home/nicola/v4l-dvb-archive/v4l/tuner-core.c: In function 'set_type':
/home/nicola/v4l-dvb-archive/v4l/tuner-core.c:429: warning: unused variable 'xc_tuner_ops'

Priority: normal

Signed-off-by: Nicola Soranzo <nsoranzo@tiscali.it>

---

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff -r 315bc4b65b4f -r 040b6da1f887 linux/drivers/media/video/tuner-core.c
--- a/linux/drivers/media/video/tuner-core.c	Sun May 17 12:28:55 2009 +0000
+++ b/linux/drivers/media/video/tuner-core.c	Fri May 22 18:11:17 2009 +0200
@@ -426,8 +426,6 @@ 
 		break;
 	case TUNER_XC5000:
 	{
-		struct dvb_tuner_ops *xc_tuner_ops;
-
 		xc5000_cfg.i2c_address	  = t->i2c->addr;
 		/* if_khz will be set when the digital dvb_attach() occurs */
 		xc5000_cfg.if_khz	  = 0;