diff options
author | Krzysztof Hałasa <khalasa@piap.pl> | 2014-01-02 03:34:10 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-01-02 07:47:25 -0500 |
commit | 97e81acd31de184af22b78c4977a66f40ca1efa3 (patch) | |
tree | d2fcbad25ee6b51cc9036e287d6fd991558627cb /arch/arm/mach-ixp4xx/common.c | |
parent | 49457896d522db195a0fd6b273e5ce4c3b186c6a (diff) |
IXP4xx: remove '1 &&' from a condition check in ixp4xx_restart()
Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/arm/mach-ixp4xx/common.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c index 9edaf4734fa8..a7906ebedb19 100644 --- a/arch/arm/mach-ixp4xx/common.c +++ b/arch/arm/mach-ixp4xx/common.c | |||
@@ -560,7 +560,7 @@ static void __init ixp4xx_clockevent_init(void) | |||
560 | 560 | ||
561 | void ixp4xx_restart(enum reboot_mode mode, const char *cmd) | 561 | void ixp4xx_restart(enum reboot_mode mode, const char *cmd) |
562 | { | 562 | { |
563 | if ( 1 && mode == REBOOT_SOFT) { | 563 | if (mode == REBOOT_SOFT) { |
564 | /* Jump into ROM at address 0 */ | 564 | /* Jump into ROM at address 0 */ |
565 | soft_restart(0); | 565 | soft_restart(0); |
566 | } else { | 566 | } else { |