PM / AVS: SmartReflex: NULL check before some freeing functions is not needed
authorThomas Meyer <thomas@m3y3r.de>
Sun, 2 Dec 2018 20:52:11 +0000 (21:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 14:37:14 +0000 (15:37 +0100)
commit456536aa540f8e2696533222ef10a4c456c1c9ee
treedb510f99422eb7617a1c405abb4db1bb0efa7e20
parentbb97bd1891697d7cce8d03e71de238d043e9c086
PM / AVS: SmartReflex: NULL check before some freeing functions is not needed

[ Upstream commit 14d338a857f05f894ba3badd9e6d3039c68b8180 ]

NULL check before some freeing functions is not needed.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/power/avs/smartreflex.c