Skip to contentSkip to conversation

tuner-core: remove unused variable

PATCH New Nicola Soranzo 1 participant 1 message May 22, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tuner-core: remove unused variable

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

---

linux/drivers/media/video/tuner-core.c +0 -2
diff -r 315bc4b65b4f -r 040b6da1f887 linux/drivers/media/video/tuner-core.c
@@ -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;