public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 14/14 2.6.13-rc2-mm1] V4L TV EEPROM
@ 2005-07-09  0:54 Mauro Carvalho Chehab
  0 siblings, 0 replies; only message in thread
From: Mauro Carvalho Chehab @ 2005-07-09  0:54 UTC (permalink / raw)
  To: Andrew Morton; +Cc: LKML, Linux and Kernel Video

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: v4l_tveeprom.diff --]
[-- Type: text/x-patch, Size: 942 bytes --]

- Eliminated unused code.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>

 linux/drivers/media/video/tveeprom.c |    9 +--------
 1 files changed, 1 insertion(+), 8 deletions(-)

diff -u linux-2.6.13/drivers/media/video/tveeprom.c linux/drivers/media/video/tveeprom.c
--- linux-2.6.13/drivers/media/video/tveeprom.c	2005-07-06 00:46:33.000000000 -0300
+++ linux/drivers/media/video/tveeprom.c	2005-07-07 21:18:03.000000000 -0300
@@ -400,14 +400,6 @@
 		}
 	}
 
-#if 0
-	if (t_format < sizeof(hauppauge_tuner_fmt)/sizeof(struct HAUPPAUGE_TUNER_FMT)) {
-		tvee->tuner_formats = hauppauge_tuner_fmt[t_format].id;
-		t_fmt_name = hauppauge_tuner_fmt[t_format].name;
-	} else {
-		t_fmt_name = "<unknown>";
-	}
-#endif
 
 	TVEEPROM_KERN_INFO("Hauppauge: model = %d, rev = %s, serial# = %d\n",
 		   tvee->model,
@@ -482,6 +474,7 @@
 	0xa0 >> 1,
 	I2C_CLIENT_END,
 };
+
 I2C_CLIENT_INSMOD;
 
 struct i2c_driver i2c_driver_tveeprom;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-09  0:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-09  0:54 [PATCH 14/14 2.6.13-rc2-mm1] V4L TV EEPROM Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox