Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Hałasa and committed by
Jiri Kosina
97e81acd 49457896

+1 -1
+1 -1
arch/arm/mach-ixp4xx/common.c
··· 560 560 561 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 564 /* Jump into ROM at address 0 */ 565 565 soft_restart(0); 566 566 } else {