commit | 7438370a5150d6090957ab3e461d5b3a31f2181a | [log] [tgz] |
---|---|---|
author | Yash Shah <yshah1@visteon.com> | Tue Dec 08 10:24:17 2015 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Dec 21 14:00:17 2015 -0800 |
tree | b474189e92ad6bb430162c515c31b9e599c04214 | |
parent | a054374f15428cbc1d9cb9cba17ce870eaa7d60f [diff] |
Staging: rdma:Delete unnecessary NULL check before calling function "kmem_cache_destroy" The kmem_cache_destroy() function tests whether its argument is NULL and then returns immediately. Thus the NULL check before calling this function is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Yash Shah <yshah1@visteon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>