commit | adf78edac09f9640cd9676571586c4be46fb527c | [log] [tgz] |
---|---|---|
author | Julia Lawall <[email protected]> | Sun Sep 13 14:15:18 2015 +0200 |
committer | David S. Miller <[email protected]> | Tue Sep 15 16:49:43 2015 -0700 |
tree | e19bdfe56461d5f3564e0c60db301b9bae2e42c7 | |
parent | 58d29e3ce903dcafacee9e355225d64922325cf0 [diff] |
net: core: 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); x = NULL; -} // </smpl> Signed-off-by: Julia Lawall <[email protected]> Signed-off-by: David S. Miller <[email protected]>