[PATCH] tuner-core: remove unused variable

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

 



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@xxxxxxxxxx>

---
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;

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

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux