Tag: a7a19d7ab6f7b683e08ef25fd0fd673d5b09776e

USB-EHCI: Delete unnecessary checks before the function call “dma_pool_destroy”

Author: Markus Elfring <elfring@users.sourceforge.net> The dma_pool_destroy() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman — drivers/usb/host/ehci-mem.c | 18 +++++————- 1 file changed, 5 insertions(+), 13 …

Continue reading