Skip to contentSkip to conversation

media: platform: Fix Warning of Unneeded Semicolon reported by coccicheck

PATCH New Shobhit Kukreti 1 participant 1 message Jun 5, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: platform: Fix Warning of Unneeded Semicolon reported by coccicheck

fixed the warning in the files below

drivers/media/platform/pxa_camera.c:1391:2-3: Unneeded semicolon drivers/media/platform/qcom/venus/vdec_ctrls.c:78:2-3: Unneeded semicolon drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c:146:3-4: Unneeded semicolon

---
 drivers/media/platform/pxa_camera.c                  | 2 +-
 drivers/media/platform/qcom/venus/vdec_ctrls.c       | 2 +-
 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
drivers/media/platform/pxa_camera.c +1 -1
index 6addc5e..1c9bfaa 100644
@@ -1388,7 +1388,7 @@ static int pxa_buffer_init(struct pxa_camera_dev *pcdev,
 		break;
 	default:
 		return -EINVAL;
-	};
+	}
 	buf->nb_planes = nb_channels;
 
 	ret = sg_split(sgt->sgl, sgt->nents, 0, nb_channels,
drivers/media/platform/qcom/venus/vdec_ctrls.c +1 -1
index f4604b0..90f7620 100644
@@ -75,7 +75,7 @@ static int vdec_op_g_volatile_ctrl(struct v4l2_ctrl *ctrl)
 		break;
 	default:
 		return -EINVAL;
-	};
+	}
 
 	return 0;
 }
drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c +2 -2
index 075d469..a79250a 100644
@@ -143,7 +143,7 @@ int c8sectpfe_frontend_attach(struct dvb_frontend **fe,
 				"%s: stv0367ter_attach failed for NIM card %s\n"
 				, __func__, dvb_card_str(tsin->dvb_card));
 			return -ENODEV;
-		};
+		}
 
 		/*
 		 * init the demod so that i2c gate_ctrl
@@ -203,7 +203,7 @@ int c8sectpfe_frontend_attach(struct dvb_frontend **fe,
 				"%s: stv6110x_attach failed for NIM card %s\n"
 				, __func__, dvb_card_str(tsin->dvb_card));
 			return -ENODEV;
-		};
+		}
 
 		stv090x_config.tuner_init = fe2->tuner_init;
 		stv090x_config.tuner_set_mode = fe2->tuner_set_mode;
Signature · 1 line
2.7.4