Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756003AbbGPUke (ORCPT ); Thu, 16 Jul 2015 16:40:34 -0400 Received: from sauhun.de ([89.238.76.85]:40350 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754783AbbGPUkb (ORCPT ); Thu, 16 Jul 2015 16:40:31 -0400 Date: Thu, 16 Jul 2015 22:40:19 +0200 From: Wolfram Sang To: Laurent Navet Cc: kgene@kernel.org, k.kozlowski@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: s3c2410: remove unused variable Message-ID: <20150716204019.GA1533@katana> References: <1437078976-29145-1-git-send-email-laurent.navet@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <1437078976-29145-1-git-send-email-laurent.navet@gmail.com> 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: 1581 Lines: 43 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 16, 2015 at 10:36:16PM +0200, Laurent Navet wrote: > ret is assigned zero and just used to return. remove it. > Found by using coccinelle. >=20 > Signed-off-by: Laurent Navet Why not make it void? --jRHKVT23PllUwdXP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVqBazAAoJEBQN5MwUoCm2IkEP/0+689ujUByWyV8AnvPSLydN KEvllrTXapF10mqXQJBLBYmLG+M65azy+yDZIG5DEY2evTBWV6IkhVWIC0Gu5Cce mQ2vcM2LdxWAB7b2L7UnjtRx3Pe5/qWw2GAO0tYDBlRAqblNltluNzxpKLFSYlH8 vcSInxu88BKyhNE56ipO0w3gXQlk6j1ol3RLd0mZ31ynEefWrezSEZ/lqNotvtZl uz5dfc6ebBwf5Ebc3U+N5BBLCSYfXq7y3I+YUCoYAlEkKkSMgei9bWnXFok7QxSS 52EG3PWQ0+ebfLk+Gu7QaDAyY1gQRF85VEyO4atuFVx0SI0wrxuOY6azpJ43bAKs Sr76caOsF0OGrR6BLWYuxSJVEmxOPzugC5vzDFkUlLp7XWyewiGN6S/qO76LMb5C D0hJZgJqU8gZ6BToRR5aIeQdcpWPuYjjwpO5Oofl9SlmzMiBQB0Vv0wP1NN47s5X VKQnhwhz72226IpTh6j/I2qw7vpBx904FkowzKOEWwZNtdy3dwERDKIac7f4PQSf odOovuHEwj1HqrI05gNSpAAZTLj1+WQoc6Np5T4WCuALfw1bANeoWJcRJIrNo+25 laykw+CQQ4DjEJNUNJr4DhaMdiU4pZTBsZ3wwjlnHoicisRJTml6015CnvTkgtOY W7wmYJ1aJmj4bUV1qW1X =D1eq -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/