Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754806AbbLKKM0 (ORCPT ); Fri, 11 Dec 2015 05:12:26 -0500 Received: from mail-lb0-f170.google.com ([209.85.217.170]:34620 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751982AbbLKKMW (ORCPT ); Fri, 11 Dec 2015 05:12:22 -0500 Date: Fri, 11 Dec 2015 11:13:00 +0100 From: Johan Hovold To: "Geyslan G. Bem" Cc: peter.senna@gmail.com, Johan Hovold , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] usb: serial: remove redundant conditions Message-ID: <20151211101300.GK28650@localhost> References: <1449827205-3967-1-git-send-email-geyslan@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1449827205-3967-1-git-send-email-geyslan@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: 674 Lines: 21 On Fri, Dec 11, 2015 at 06:46:41AM -0300, Geyslan G. Bem wrote: > This patch removes redundant conditions. > > (!A || (A && B)) is the same as (!A || B). > > Tested by compilation only. > Caught by cppcheck. > > Signed-off-by: Geyslan G. Bem You forgot to update the commit summary (to include the driver name) when splitting the original patch. I fixed that up and applied both for next. Thanks, Johan -- 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/