diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2006-08-08 08:10:05 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 10:53:19 -0400 |
commit | 22694c0c38ba023c6535f6b5b7925f9fb7a868fd (patch) | |
tree | e6b676427f66611f22a6552a8ef31d8d3db5c7db | |
parent | e84fef6b4a9d36fea53354633c590a7800d9fd83 (diff) |
V4L/DVB (4366): Remove of couple of useless lines
A buffer was set just before an if block, and then again in both branches
of the if. Obvious coding error.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/tuner-simple.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c index abe37cf632c6..e053b8485e1c 100644 --- a/drivers/media/video/tuner-simple.c +++ b/drivers/media/video/tuner-simple.c | |||
@@ -439,8 +439,6 @@ static void default_set_radio_freq(struct i2c_client *c, unsigned int freq) | |||
439 | buffer[3] = 0xa4; | 439 | buffer[3] = 0xa4; |
440 | break; | 440 | break; |
441 | } | 441 | } |
442 | buffer[0] = (div>>8) & 0x7f; | ||
443 | buffer[1] = div & 0xff; | ||
444 | if (params->cb_first_if_lower_freq && div < t->last_div) { | 442 | if (params->cb_first_if_lower_freq && div < t->last_div) { |
445 | buffer[0] = buffer[2]; | 443 | buffer[0] = buffer[2]; |
446 | buffer[1] = buffer[3]; | 444 | buffer[1] = buffer[3]; |