git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
306a554
)
SUNRPC: drop null test before destroy functions
author
Julia Lawall
<Julia.Lawall@lip6.fr>
Sun, 13 Sep 2015 12:15:07 +0000
(14:15 +0200)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Thu, 17 Sep 2015 19:48:24 +0000
(15:48 -0400)
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>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/sched.c
patch
|
blob
|
history
diff --cc
net/sunrpc/sched.c
Simple merge