Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932093AbcDFGOv (ORCPT ); Wed, 6 Apr 2016 02:14:51 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:30583 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751953AbcDFGOt (ORCPT ); Wed, 6 Apr 2016 02:14:49 -0400 X-IronPort-AV: E=Sophos;i="5.24,447,1454972400"; d="scan'208";a="172804608" Date: Wed, 6 Apr 2016 08:14:34 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@localhost6.localdomain6 To: Rajendra Nayak cc: kbuild-all@01.org, Zhang Rui , Eduardo Valentin , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] thermal: qcom: tsens-8960: fix semicolon.cocci warnings Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 599 Lines: 22 Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- tsens-8960.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/thermal/qcom/tsens-8960.c +++ b/drivers/thermal/qcom/tsens-8960.c @@ -247,7 +247,7 @@ static inline int code_to_mdegC(u32 adc_ u32 slope; int offset; - slope = thermal_zone_get_slope(s->tzd);; + slope = thermal_zone_get_slope(s->tzd); offset = CAL_MDEGC - slope * s->offset; return adc_code * slope + offset;