From: Fengguang Wu Date: Sun, 20 Aug 2017 14:17:15 +0000 (-0400) Subject: media: ddbridge: fix semicolon.cocci warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0779b8855c746c90b85bfe6e16d5dfa2a6a46655;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Fengguang Wu Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/ddbridge/ddbridge-maxs8.c b/drivers/media/pci/ddbridge/ddbridge-maxs8.c index 10716ee8cf59..f8a53bc7c86c 100644 --- a/drivers/media/pci/ddbridge/ddbridge-maxs8.c +++ b/drivers/media/pci/ddbridge/ddbridge-maxs8.c @@ -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; }