Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 884dc5a2 authored by Julia Lawall's avatar Julia Lawall Committed by Kukjin Kim
Browse files

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: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 82145130
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}