ARM:common: deleting waste code which never execute
PATCH 1/1 ARM:common: deleting waste code which never execute
delete the waste code which never execute
Signed-off-by Chen Gang <[email protected]>
--- arch/arm/common/scoop.c | 2 -- 1 file changed, 2 deletions(-)
arch/arm/common/scoop.c +0 -2
@@ -232,8 +232,6 @@ static int scoop_probe(struct platform_device *pdev)return 0 ; -if (devptr->gpio.base !=-1 ) - temp =gpiochip_remove (&devptr->gpio); err_gpio:platform_set_drvdata (pdev,NULL ); err_ioremap:
Signature · 1 line
1.7.10.4
PATCH 1/1 ARM:common: deleting waste code which never execute
sorry, need send patch v2 (or report warning for temp when building)
? 2013?01?29? 21:23, Chen Gang ??:
Quoted 22 lines
delete the waste code which never execute
Signed-off-by Chen Gang <[email protected]>--- arch/arm/common/scoop.c | 2 -- 1 file changed, 2 deletions(-)arch/arm/common/scoop.c +0
-2@@ -232,8 +232,6 @@ static int scoop_probe(struct platform_device *pdev)return 0 ; -if (devptr->gpio.base !=-1 ) - temp =gpiochip_remove (&devptr->gpio); err_gpio:platform_set_drvdata (pdev,NULL ); err_ioremap:
Signature · 3 lines
Chen Gang Asianux Corporation