Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754834AbbBFECE (ORCPT ); Thu, 5 Feb 2015 23:02:04 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:50906 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751489AbbBFECD (ORCPT ); Thu, 5 Feb 2015 23:02:03 -0500 Date: Thu, 5 Feb 2015 20:01:58 -0800 From: Brian Norris To: Nicholas Mc Guire Cc: David Woodhouse , pekon gupta , Roger Quadros , Ezequiel Garcia , Tony Lindgren , Rostislav Lisovy , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mtd: nand: omap: drop condition with no effect Message-ID: <20150206040158.GC18140@ld-irv-0074> References: <1423070646-12906-1-git-send-email-hofrat@osadl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1423070646-12906-1-git-send-email-hofrat@osadl.org> 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: 695 Lines: 18 On Wed, Feb 04, 2015 at 12:24:06PM -0500, Nicholas Mc Guire wrote: > The if and the else branch code are identical - so the condition has no > effect on the effective code. This patch removes the condition and the > duplicated code and updates the documentation as suggested by > Roger Quadros . > > Acked-by: Roger Quadros > Signed-off-by: Nicholas Mc Guire Applied to l2-mtd.git. Thanks, Brian -- 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/