diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-07-12 16:59:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 19:01:06 -0400 |
commit | 833e9a1abe8cdfc037964d3240d57bb8ff94bff0 (patch) | |
tree | cde03f29e56a9ab84e0f23a08d230b2caabb2508 /drivers/media/video/tveeprom.c | |
parent | af9eeed2d78cb9c672bdc750133506670713fdf8 (diff) |
[PATCH] v4l: TV EEPROM
- Eliminated unused code.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/tveeprom.c')
-rw-r--r-- | drivers/media/video/tveeprom.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/media/video/tveeprom.c b/drivers/media/video/tveeprom.c index 0f03c25489f1..e8d9440977cb 100644 --- a/drivers/media/video/tveeprom.c +++ b/drivers/media/video/tveeprom.c | |||
@@ -400,14 +400,6 @@ void tveeprom_hauppauge_analog(struct tveeprom *tvee, unsigned char *eeprom_data | |||
400 | } | 400 | } |
401 | } | 401 | } |
402 | 402 | ||
403 | #if 0 | ||
404 | if (t_format < sizeof(hauppauge_tuner_fmt)/sizeof(struct HAUPPAUGE_TUNER_FMT)) { | ||
405 | tvee->tuner_formats = hauppauge_tuner_fmt[t_format].id; | ||
406 | t_fmt_name = hauppauge_tuner_fmt[t_format].name; | ||
407 | } else { | ||
408 | t_fmt_name = "<unknown>"; | ||
409 | } | ||
410 | #endif | ||
411 | 403 | ||
412 | TVEEPROM_KERN_INFO("Hauppauge: model = %d, rev = %s, serial# = %d\n", | 404 | TVEEPROM_KERN_INFO("Hauppauge: model = %d, rev = %s, serial# = %d\n", |
413 | tvee->model, | 405 | tvee->model, |
@@ -482,6 +474,7 @@ static unsigned short normal_i2c[] = { | |||
482 | 0xa0 >> 1, | 474 | 0xa0 >> 1, |
483 | I2C_CLIENT_END, | 475 | I2C_CLIENT_END, |
484 | }; | 476 | }; |
477 | |||
485 | I2C_CLIENT_INSMOD; | 478 | I2C_CLIENT_INSMOD; |
486 | 479 | ||
487 | struct i2c_driver i2c_driver_tveeprom; | 480 | struct i2c_driver i2c_driver_tveeprom; |