OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e84fef6
)
V4L/DVB (4366): Remove of couple of useless lines
author
Trent Piepho
<xyzzy@speakeasy.org>
Tue, 8 Aug 2006 12:10:05 +0000
(09:10 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Tue, 26 Sep 2006 14:53:19 +0000
(11:53 -0300)
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>
drivers/media/video/tuner-simple.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/tuner-simple.c
b/drivers/media/video/tuner-simple.c
index
abe37cf
..
e053b84
100644
(file)
--- 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)
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];