Thread (3 messages) 3 messages, 3 authors, 2016-07-25

Re: [PATCH] zsmalloc: Delete an unnecessary check before the function call "iput"

From: Minchan Kim <minchan@kernel.org>
Date: 2016-07-25 09:07:56
Also in: kernel-janitors, lkml

On Fri, Jul 22, 2016 at 08:02:08PM +0200, SF Markus Elfring wrote:
From: Markus Elfring <redacted>
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 <redacted>
Acked-by: Minchan Kim <minchan@kernel.org>

Thanks!

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help