mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
The dma_pool_destroy() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Cc: Greg KH <[email protected]> Cc: Julia Lawall <[email protected]> Cc: Mike Waychison <[email protected]> Cc: Michel Lespinasse <[email protected]> Signed-off-by: Matt Fleming <[email protected]>