Commit 97e81acd authored by Krzysztof Hałasa's avatar Krzysztof Hałasa Committed by Jiri Kosina

IXP4xx: remove '1 &&' from a condition check in ixp4xx_restart()

Signed-off-by: default avatarKrzysztof Hałasa <khalasa@piap.pl>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 49457896
...@@ -560,7 +560,7 @@ static void __init ixp4xx_clockevent_init(void) ...@@ -560,7 +560,7 @@ static void __init ixp4xx_clockevent_init(void)
void ixp4xx_restart(enum reboot_mode mode, const char *cmd) void ixp4xx_restart(enum reboot_mode mode, const char *cmd)
{ {
if ( 1 && mode == REBOOT_SOFT) { if (mode == REBOOT_SOFT) {
/* Jump into ROM at address 0 */ /* Jump into ROM at address 0 */
soft_restart(0); soft_restart(0);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment