mirror of https://gitee.com/openkylin/linux.git
ARM: S3C24xx: delete double assignment
Delete successive assignments to the same location. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression i; @@ *i = ...; i = ...; // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
parent
8214513063
commit
884dc5a2d3
|
@ -380,7 +380,7 @@ int h1940_led_blink_set(unsigned gpio, int state,
|
|||
default:
|
||||
blink_gpio = S3C2410_GPA(3);
|
||||
check_gpio1 = S3C2410_GPA(1);
|
||||
check_gpio1 = S3C2410_GPA(7);
|
||||
check_gpio2 = S3C2410_GPA(7);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue