On Mon, 2014-12-15 at 11:12 -0600, Larry Finger wrote: > On 12/15/2014 10:39 AM, Joe Perches wrote: > > On Mon, 2014-12-15 at 20:55 +0530, Karthik Nayak wrote: > >> As per checkpatch warning, removed an unnecessary else statement > >> proceeding an if statement with a return. > > > > This is not a correct change. > > The checkpatch message said "generally". > > You still have to verify the code. [] > Perhaps checkpatch should ignore setting this warning when there is an "else > if" > in the flow.
In a patch, that's not possible as the context may not show the flow. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/