Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751244AbdFYQHo (ORCPT ); Sun, 25 Jun 2017 12:07:44 -0400 Received: from mga01.intel.com ([192.55.52.88]:33936 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751142AbdFYQHm (ORCPT ); Sun, 25 Jun 2017 12:07:42 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,391,1493708400"; d="scan'208";a="985034255" Date: Mon, 26 Jun 2017 00:07:08 +0800 From: kbuild test robot To: Hugues Fruchet Cc: kbuild-all@01.org, Sylwester Nawrocki , "H. Nikolaus Schaller" , Guennadi Liakhovetski , Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre Torgue , Mauro Carvalho Chehab , Hans Verkuil , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Benjamin Gaignard , Yannick Fertre , Hugues Fruchet Subject: [PATCH] ov9650: fix semicolon.cocci warnings Message-ID: <20170625160708.GA23872@lkp-ne04.lkp.intel.com> References: <201706252313.0XcqTjb4%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1498143942-12682-7-git-send-email-hugues.fruchet@st.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 753 Lines: 26 drivers/media/i2c/ov9650.c:2034:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 5ffa34fa8f2e ("ov9650: add support of OV9655 variant") CC: Hugues Fruchet Signed-off-by: Fengguang Wu --- ov9650.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/media/i2c/ov9650.c +++ b/drivers/media/i2c/ov9650.c @@ -2031,7 +2031,7 @@ static int ov965x_probe(struct i2c_clien ov965x->formats = ov9655_formats; ov965x->nb_of_formats = ARRAY_SIZE(ov9655_formats); ov965x->set_params = ov965x_set_frame_size; - }; + } ov965x->frame_size = &ov965x->framesizes[0]; ov965x_get_default_format(ov965x, &ov965x->format);