Tag: 7438370a5150d6090957ab3e461d5b3a31f2181a

Staging: rdma:Delete unnecessary NULL check before calling function “kmem_cache_destroy”

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 …

Continue reading

BtrLinux
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.