diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2006-07-25 09:31:39 -0300 |
---|---|---|
committer | Trent Piepho <xyzzy@speakeasy.org> | 2006-07-25 09:31:39 -0300 |
commit | 6b10723421c5d71d041d1dc54cc19d782a290638 (patch) | |
tree | 9acb3ed4c5043dc86f20bc816147b6d645669b07 /linux/drivers/media | |
parent | 35e3012e60673e76c8aee515280e1d37a1df2cc9 (diff) | |
download | mediapointer-dvb-s2-6b10723421c5d71d041d1dc54cc19d782a290638.tar.gz mediapointer-dvb-s2-6b10723421c5d71d041d1dc54cc19d782a290638.tar.bz2 |
Remove of couple of useless lines
From: Trent Piepho <xyzzy@speakeasy.org>
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>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/tuner-simple.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tuner-simple.c b/linux/drivers/media/video/tuner-simple.c index 9584016c8..88ab4f63b 100644 --- a/linux/drivers/media/video/tuner-simple.c +++ b/linux/drivers/media/video/tuner-simple.c @@ -475,8 +475,6 @@ static void default_set_radio_freq(struct i2c_client *c, unsigned int freq) buffer[3] = 0xa4; break; } - buffer[0] = (div>>8) & 0x7f; - buffer[1] = div & 0xff; if (params->cb_first_if_lower_freq && div < t->last_div) { buffer[0] = buffer[2]; buffer[1] = buffer[3]; |