mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
PM / AVS: SmartReflex: NULL check before some freeing functions is not needed
NULL check before some freeing functions is not needed. Signed-off-by: Thomas Meyer <[email protected]> Reviewed-by: Kevin Hilman <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
c76aa32207
commit
14d338a857
1 changed files with 1 additions and 2 deletions
|
|
@ -990,8 +990,7 @@ static int omap_sr_remove(struct platform_device *pdev)
|
|||
|
||||
if (sr_info->autocomp_active)
|
||||
sr_stop_vddautocomp(sr_info);
|
||||
if (sr_info->dbg_dir)
|
||||
debugfs_remove_recursive(sr_info->dbg_dir);
|
||||
debugfs_remove_recursive(sr_info->dbg_dir);
|
||||
|
||||
pm_runtime_disable(&pdev->dev);
|
||||
list_del(&sr_info->node);
|
||||
|
|
|
|||
Loading…
Reference in a new issue