Tag: 51b91b7e6c1516c7d3ea70acc91aac9b32ae3e72

usb: gadget: drop null test before destroy functions

Author: Julia Lawall <Julia.Lawall@lip6.fr> Remove unneeded NULL test. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression x; @@ -if (x != NULL) \(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x); // Signed-off-by: Julia Lawall Signed-off-by: Felipe Balbi — drivers/usb/gadget/udc/bdc/bdc_core.c | 3 +– drivers/usb/gadget/udc/gr_udc.c | 3 +– drivers/usb/gadget/udc/mv_u3d_core.c | 3 +– drivers/usb/gadget/udc/mv_udc_core.c | 3 +– 4 files …

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.