Skip to content

Commit

Permalink
[PATCH] v4l: TV EEPROM
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
Mauro Carvalho Chehab authored and Linus Torvalds committed Jul 12, 2005
1 parent af9eeed commit 833e9a1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions drivers/media/video/tveeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,14 +400,6 @@ void tveeprom_hauppauge_analog(struct tveeprom *tvee, unsigned char *eeprom_data
}
}

#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,
Expand Down Expand Up @@ -482,6 +474,7 @@ static unsigned short normal_i2c[] = {
0xa0 >> 1,
I2C_CLIENT_END,
};

I2C_CLIENT_INSMOD;

struct i2c_driver i2c_driver_tveeprom;
Expand Down

0 comments on commit 833e9a1

Please sign in to comment.