Author: Yash Shah <yshah1@visteon.com> 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 Signed-off-by: Greg Kroah-Hartman — drivers/staging/rdma/ehca/ehca_av.c | 3 +– drivers/staging/rdma/ehca/ehca_cq.c | 3 +– drivers/staging/rdma/ehca/ehca_main.c | 3 …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.