Skip to content
Commit d520dd1f authored by Markus Elfring's avatar Markus Elfring Committed by Matt Fleming
Browse files

firmware-gsmi: Delete an unnecessary check before the function call "dma_pool_destroy"



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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Cc: Greg KH <gregkh@linuxfoundation.org>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Cc: Mike Waychison <mikew@google.com>
Cc: Michel Lespinasse <walken@google.com>
Signed-off-by: default avatarMatt Fleming <matt@codeblueprint.co.uk>
parent ac0e94b6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment