Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1289384
| From | Johan Hovold <johan@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] usb: serial: remove redundant conditions |
| Date | 2015-12-11 11:20 +0100 |
| Message-ID | <qEsXV-2Ss-9@gated-at.bofh.it> (permalink) |
| References | <qEsuR-2qB-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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. 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/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] usb: serial: remove redundant conditions "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-11 10:50 +0100
[PATCH 2/2] usb: serial: remove redundant condition "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-11 10:50 +0100
Re: [PATCH 2/2] usb: serial: remove redundant condition Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-12-11 13:40 +0100
Re: [PATCH 2/2] usb: serial: remove redundant condition "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-11 13:50 +0100
Re: [PATCH 1/2] usb: serial: remove redundant conditions Johan Hovold <johan@kernel.org> - 2015-12-11 11:20 +0100
Re: [PATCH 1/2] usb: serial: remove redundant conditions Johan Hovold <johan@kernel.org> - 2015-12-11 11:30 +0100
Re: [PATCH 1/2] usb: serial: remove redundant conditions "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-11 11:30 +0100
csiph-web