Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1184361
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls |
| Date | 2015-07-15 08:50 +0200 |
| Message-ID | <pMoFY-83L-31@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <mSsDN-4wa-61@gated-at.bofh.it> <mSsDN-4wa-63@gated-at.bofh.it> <mSsDN-4wa-65@gated-at.bofh.it> <mSsDN-4wa-33@gated-at.bofh.it> <pFdFD-7vv-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* SF Markus Elfring <elfring@users.sourceforge.net> [150625 04:35]: > From: Markus Elfring <elfring@users.sourceforge.net> > Date: Thu, 25 Jun 2015 13:24:35 +0200 > > Some functions which release a system resource tolerate the passing > of a null pointer. I do not see a need because of this fact > that a function caller repeats a corresponding check. > > Markus Elfring (2): > Delete a check before the function call "omap_device_delete" > Delete a check before the function call "of_node_put" > > arch/arm/mach-omap2/omap_device.c | 3 +-- > arch/arm/mach-omap2/timer.c | 3 +-- > 2 files changed, 2 insertions(+), 4 deletions(-) Applying both into omap-for-v4.3/soc thanks. Tony -- 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 | Find similar | Unroll thread
Re: [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls Tony Lindgren <tony@atomide.com> - 2015-07-15 08:50 +0200
csiph-web