Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1449385
| From | Minchan Kim <minchan@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] zsmalloc: Delete an unnecessary check before the function call "iput" |
| Date | 2016-07-25 11:10 +0200 |
| Message-ID | <rYK3D-2IR-1@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> <rXN3A-Qn-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jul 22, 2016 at 08:02:08PM +0200, SF Markus Elfring wrote: > From: Markus Elfring <elfring@users.sourceforge.net> > Date: Fri, 22 Jul 2016 19:54:20 +0200 > > The iput() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Acked-by: Minchan Kim <minchan@kernel.org> Thanks!
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] zsmalloc: Delete an unnecessary check before the function call "iput" SF Markus Elfring <elfring@users.sourceforge.net> - 2016-07-22 20:10 +0200 Re: [PATCH] zsmalloc: Delete an unnecessary check before the function call "iput" Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-07-25 03:00 +0200 Re: [PATCH] zsmalloc: Delete an unnecessary check before the function call "iput" Minchan Kim <minchan@kernel.org> - 2016-07-25 11:10 +0200
csiph-web