regulator: (wm831x-dcdc) Remove unused variables
PATCH 1/1 regulator: (wm831x-dcdc) Remove unused variables
Remove unused variable wm831x from functions wm831x_buckv_remove() and wm831x_buckp_remove().
This commit fixes the following build warnings:
drivers/regulator/wm831x-dcdc.c: In function wm831x_buckv_remove:rivers/regulator/wm831x-dcdc.c:603: warning: unused variable wm831x drivers/regulator/wm831x-dcdc.c: In function wm831x_buckp_remove:drivers/regulator/wm831x-dcdc.c:779: warning: unused variable wm831x
Signed-off-by Guenter Roeck <[email protected]>
--- drivers/regulator/wm831x-dcdc.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/regulator/wm831x-dcdc.c +0 -2
@@ -600,7 +600,6 @@ err: static __devexit int wm831x_buckv_remove(struct platform_device *pdev) {struct wm831x_dcdc *dcdc =platform_get_drvdata (pdev); -struct wm831x *wm831x = dcdc->wm831x;platform_set_drvdata (pdev,NULL );
@@ -776,7 +775,6 @@ err: static __devexit int wm831x_buckp_remove(struct platform_device *pdev) {struct wm831x_dcdc *dcdc =platform_get_drvdata (pdev); -struct wm831x *wm831x = dcdc->wm831x;platform_set_drvdata (pdev,NULL );
Signature · 1 line
1.7.1
Quoted 2 lines · Guenter Roeck
Remove unused variable wm831x from functions
wm831x_buckv_remove()andwm831x_buckp_remove().
Liam this is the third time someone's sent a fix for this, including one from me. Can you please get this applied?