Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754256AbbLKKZx (ORCPT ); Fri, 11 Dec 2015 05:25:53 -0500 Received: from mail-vk0-f53.google.com ([209.85.213.53]:33332 "EHLO mail-vk0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751804AbbLKKZv (ORCPT ); Fri, 11 Dec 2015 05:25:51 -0500 MIME-Version: 1.0 In-Reply-To: <20151211101300.GK28650@localhost> References: <1449827205-3967-1-git-send-email-geyslan@gmail.com> <20151211101300.GK28650@localhost> Date: Fri, 11 Dec 2015 07:25:51 -0300 Message-ID: Subject: Re: [PATCH 1/2] usb: serial: remove redundant conditions From: "Geyslan G. Bem" To: Johan Hovold Cc: Peter Senna Tschudin , Greg Kroah-Hartman , linux-usb@vger.kernel.org, LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 36 2015-12-11 7:13 GMT-03:00 Johan Hovold : > 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. Sorry. I got it: USB: mos7840: and USB: io_edgeport:. I'm still getting the hang of it. :-) Thank you for apply them. > > Thanks, > Johan -- Regards, Geyslan G. Bem hackingbits.com -- 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/