提交 0779b885 编写于 作者: F Fengguang Wu 提交者: Mauro Carvalho Chehab

media: ddbridge: fix semicolon.cocci warnings

drivers/media/pci/ddbridge/ddbridge-maxs8.c:145:2-3: Unneeded semicolon
drivers/media/pci/ddbridge/ddbridge-maxs8.c:173:2-3: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: a43dbe430fb4 ("media: ddbridge: support MaxLinear MXL5xx based cards (MaxS4/8)")

CC: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 21482415
......@@ -142,7 +142,7 @@ static int lnb_set_tone(struct ddb *dev, u32 link, u32 input,
default:
s = -EINVAL;
break;
};
}
if (!s)
s = lnb_command(dev, link, input, LNB_CMD_NOP);
return s;
......@@ -170,7 +170,7 @@ static int lnb_set_voltage(struct ddb *dev, u32 link, u32 input,
default:
s = -EINVAL;
break;
};
}
dev->link[link].lnb.oldvoltage[input] = voltage;
return s;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册