Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1225129
| From | "Marciniszyn, Mike" <mike.marciniszyn@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH 11/39] hfi1: drop null test before destroy functions |
| Date | 2015-09-15 16:00 +0200 |
| Message-ID | <q8YW6-6Co-13@gated-at.bofh.it> (permalink) |
| References | <q8ezT-7xJ-3@gated-at.bofh.it> <q8eJB-7J8-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> Subject: [PATCH 11/39] hfi1: drop null test before destroy functions > > Remove unneeded NULL test. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // <smpl> > @@ expression x; @@ > -if (x != NULL) > \(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x); > // </smpl> > > Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Thanks for the patch! Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.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/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 11/39] hfi1: drop null test before destroy functions Julia Lawall <Julia.Lawall@lip6.fr> - 2015-09-13 14:40 +0200 RE: [PATCH 11/39] hfi1: drop null test before destroy functions "Marciniszyn, Mike" <mike.marciniszyn@intel.com> - 2015-09-15 16:00 +0200
csiph-web