OpenCloudOS-Kernel/drivers/firmware/google
Markus Elfring d520dd1f34 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: Markus 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: Matt Fleming <matt@codeblueprint.co.uk>
2016-09-09 16:08:45 +01:00
..
Kconfig firmware/google: drop 'select EFI' to avoid recursive dependency 2014-01-27 21:02:40 -08:00
Makefile driver: Google Memory Console 2011-04-29 18:09:34 -07:00
gsmi.c firmware-gsmi: Delete an unnecessary check before the function call "dma_pool_destroy" 2016-09-09 16:08:45 +01:00
memconsole.c firmware: google memconsole driver fixes 2014-02-15 11:30:28 -08:00