Fabio M. De Francesco 179b1fce5d media: atomisp: pci: Remove checks before kfree/kvfree
Removed checks for pointers != NULL before freeing memory. If kvfree()
and kfree() are given NULL pointers no operations are performed, so
there is no need for the above-mentioned checks. Coccinelle detected the
second of the two unnecessary checks.

Link: https://lore.kernel.org/linux-media/20210527193922.25225-1-fmdefrancesco@gmail.com
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-07-22 14:01:56 +02:00
..
2021-06-08 17:00:09 +02:00
2021-05-10 11:19:39 +02:00
2021-07-05 14:08:24 -07:00
2021-07-05 14:08:24 -07:00
2021-04-29 11:57:23 -07:00
2021-06-12 15:38:35 +02:00
2021-06-12 15:38:35 +02:00