提交 22694c0c 编写于 作者: T Trent Piepho 提交者: Mauro Carvalho Chehab

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: NTrent Piepho <xyzzy@speakeasy.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 e84fef6b
...@@ -439,8 +439,6 @@ static void default_set_radio_freq(struct i2c_client *c, unsigned int freq) ...@@ -439,8 +439,6 @@ static void default_set_radio_freq(struct i2c_client *c, unsigned int freq)
buffer[3] = 0xa4; buffer[3] = 0xa4;
break; break;
} }
buffer[0] = (div>>8) & 0x7f;
buffer[1] = div & 0xff;
if (params->cb_first_if_lower_freq && div < t->last_div) { if (params->cb_first_if_lower_freq && div < t->last_div) {
buffer[0] = buffer[2]; buffer[0] = buffer[2];
buffer[1] = buffer[3]; buffer[1] = buffer[3];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册