Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753387AbbF3GQI (ORCPT ); Tue, 30 Jun 2015 02:16:08 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:35755 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbbF3GP7 (ORCPT ); Tue, 30 Jun 2015 02:15:59 -0400 Date: Tue, 30 Jun 2015 11:45:46 +0530 From: Sudip Mukherjee To: Ravi Teja Darbha Cc: micky_ching@realsil.com.cn, devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, nizamhaider786@gmail.com, linux-kernel@vger.kernel.org, fabio.falzoi84@gmail.com, joe@perches.com Subject: Re: [PATCH] rts5208:Fix checkpatch warnings Message-ID: <20150630061546.GA4027@sudip-PC> References: <20150630055524.GA19594@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150630055524.GA19594@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 564 Lines: 14 On Tue, Jun 30, 2015 at 11:25:24AM +0530, Ravi Teja Darbha wrote: > Else condition after if statement is not necessary, hence removed. else is not necessary after if??? then what it is supposed to be used? :) I think your commit message should have been: "else is not necessary after return statement." regards sudip -- 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/