From: Johan Hovold <johan@kernel.org>
To: "Geyslan G. Bem" <geyslan@gmail.com>
Cc: Johan Hovold <johan@kernel.org>,
Peter Senna Tschudin <peter.senna@gmail.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] usb: serial: remove redundant conditions
Date: Fri, 11 Dec 2015 11:30:17 +0100 [thread overview]
Message-ID: <20151211103017.GM28650@localhost> (raw)
In-Reply-To: <CAGG-pUTRUj2a=oC97mXtFRSrH=d6GcvyQG60c=QbaKHgz4kFdw@mail.gmail.com>
On Fri, Dec 11, 2015 at 07:25:51AM -0300, Geyslan G. Bem wrote:
> 2015-12-11 7:13 GMT-03:00 Johan Hovold <johan@kernel.org>:
> > 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 <geyslan@gmail.com>
> >
> > 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. :-)
Looks like you got it. :)
> Thank you for apply them.
Thanks again for the patches.
Johan
prev parent reply other threads:[~2015-12-11 10:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-11 9:46 [PATCH 1/2] usb: serial: remove redundant conditions Geyslan G. Bem
2015-12-11 9:46 ` [PATCH 2/2] usb: serial: remove redundant condition Geyslan G. Bem
2015-12-11 12:30 ` Sergei Shtylyov
2015-12-11 12:39 ` Geyslan G. Bem
2015-12-11 10:13 ` [PATCH 1/2] usb: serial: remove redundant conditions Johan Hovold
2015-12-11 10:25 ` Geyslan G. Bem
2015-12-11 10:30 ` Johan Hovold [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151211103017.GM28650@localhost \
--to=johan@kernel.org \
--cc=geyslan@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=peter.senna@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).