Skip to contentSkip to conversation

V4L TV EEPROM

PATCH New Mauro Carvalho Chehab 1 participant 1 message Jul 9, 2005 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 14/14 V4L TV EEPROM

- Eliminated unused code.

 linux/drivers/media/video/tveeprom.c |    9 +--------
 1 files changed, 1 insertion(+), 8 deletions(-)
drivers/media/video/tveeprom.c +1 -8
diff -u linux-2.6.13/drivers/media/video/tveeprom.c linux/drivers/media/video/tveeprom.c
@@ -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;