Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751696AbaGGFxb (ORCPT ); Mon, 7 Jul 2014 01:53:31 -0400 Received: from mail-we0-f181.google.com ([74.125.82.181]:52203 "EHLO mail-we0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750881AbaGGFx2 (ORCPT ); Mon, 7 Jul 2014 01:53:28 -0400 Date: Mon, 7 Jul 2014 07:53:25 +0200 From: Thierry Reding To: Pawel Lebioda Cc: Julian Andres Klode , Marc Dietrich , Greg Kroah-Hartman , ac100@lists.launchpad.net, linux-tegra@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] staging: nvec: remove unnecessary 'else' after 'return' statement Message-ID: <20140707055324.GB15216@ulmo> References: <55d9b3cb9cf1c54d1fc87dd1d6a582f6067cc295.1404586529.git.pawel.lebioda89@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline In-Reply-To: <55d9b3cb9cf1c54d1fc87dd1d6a582f6067cc295.1404586529.git.pawel.lebioda89@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 --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 05, 2014 at 10:30:55PM +0200, Pawel Lebioda wrote: > Fix the following warning reported by checkpatch.pl: >=20 > WARNING: else is not generally useful after a break or return > 235: FILE: drivers/staging/nvec/nvec.c:235 >=20 > Signed-off-by: Pawel Lebioda > --- > drivers/staging/nvec/nvec.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Thierry Reding --24zk1gE8NUlDmwG9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJTujXUAAoJEN0jrNd/PrOhbcMP/iiRMnLKuRAtXfu2ruzFOZfR Xim7F3M+CmK/Cklt7aVWvN1/z4uwjJm/dAKxf32F82R0K1KCSzSMvaETgglheM8I J5rjLGm6BMD0TjqdhYVgJuvhykBON0i53URnzOsQ6u7ADqJTP2e+LNUbtjfFujpj GAovR3IenBqQ42kMnr5s2l/LTg9TapQoECxvkXrK2lrSSMjhGQ3FF1FOEGcvBEwz n8dG4MFF4L9bblWJhsWkd2IfU3Tx1UuV5gT8u1zr9kxv7V0TD1nwS0aKNy/9w9ZW ACzdoS2Qr9uJ3a5yPypTRsbzjKtfd77ERMqegLTgL40TDgjNZUP1MukpG4banC2H 4MDz4P+q5a67zraTmuXQ0TnfKKlvUQzwQnP1/TnxfVoFfbX7SnxBRBS3nhX1FwIl XvzZ6gYjiMqbniyw9AdGDtYHDlVrKfMdUqx3T2TRhnbcIc3WHOHwp0jrtK5j/t89 OybSwJahjR2Kh6KTshP1YxsIxW23BjW8oXUMSQ/R1X0yD6GQo9gs8S3fHYiIo+N0 J2RBXbzPE+smrwiNZYSQJP6GMr9++ngLkli15eK2JwhwDzTLERalVE3XhGNNIK32 uAzBMlZwUQiMOYQe7rMv7w8fvpItqFt0pwp8XbzTsayROnXVeDbUEFCLf2nJwbLT A6JzI1Zv/0alCB40RGMe =xzUD -----END PGP SIGNATURE----- --24zk1gE8NUlDmwG9-- -- 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/