Remove unneeded variable used to store return value.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
 
 static int ab8500_fg_remove(struct platform_device *pdev)
 {
-       int ret = 0;
        struct ab8500_fg *di = platform_get_drvdata(pdev);
 
        component_del(&pdev->dev, &ab8500_fg_component_ops);
        ab8500_fg_sysfs_exit(di);
        ab8500_fg_sysfs_psy_remove_attrs(di);
 
-       return ret;
+       return 0;
 }
 
 static SIMPLE_DEV_PM_OPS(ab8500_fg_pm_ops, ab8500_fg_suspend, ab8500_fg_resume);