Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751450AbcDTXAh (ORCPT ); Wed, 20 Apr 2016 19:00:37 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:33406 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751029AbcDTXAf (ORCPT ); Wed, 20 Apr 2016 19:00:35 -0400 Date: Wed, 20 Apr 2016 16:00:31 -0700 From: Eduardo Valentin To: Julia Lawall Cc: Rajendra Nayak , kbuild-all@01.org, Zhang Rui , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] thermal: qcom: tsens-8960: fix semicolon.cocci warnings Message-ID: <20160420230030.GB5807@localhost.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 744 Lines: 26 On Wed, Apr 06, 2016 at 08:14:34AM +0200, Julia Lawall wrote: > 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 To which tree this patch applies to? > @@ -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;