Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1673172
| From | "Gustavo A. R. Silva" <garsilva@embeddedor.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] nfc: nci: remove unnecessary null check |
| Date | 2017-06-23 03:50 +0200 |
| Message-ID | <tVlTs-44m-7@gated-at.bofh.it> (permalink) |
| References | <tRI2e-Sj-9@gated-at.bofh.it> <tRX1g-1PX-17@gated-at.bofh.it> <tViVz-2hN-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Samuel, Quoting Samuel Ortiz <sameo@linux.intel.com>: > Hi Gustavo, > > On Tue, Jun 13, 2017 at 11:37:18AM -0500, Gustavo A. R. Silva wrote: >> Remove unnecessary NULL check for pointer conn_info. >> conn_info is set in list_for_each_entry() using container_of(), >> which is never NULL. >> >> Addresses-Coverity-ID: 1362349 >> Cc: Guenter Roeck <linux@roeck-us.net> >> Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> >> --- >> net/nfc/nci/core.c | 9 ++++----- >> 1 file changed, 4 insertions(+), 5 deletions(-) > Applied to nfc-next, thanks. > Absolutely, glad to help. Thanks -- Gustavo A. R. Silva
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH] nfc: nci: remove unnecessary null check Samuel Ortiz <sameo@linux.intel.com> - 2017-06-23 00:40 +0200 Re: [PATCH] nfc: nci: remove unnecessary null check "Gustavo A. R. Silva" <garsilva@embeddedor.com> - 2017-06-23 03:50 +0200
csiph-web