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>
This commit is contained in:
parent
49457896d5
commit
97e81acd31
|
@ -560,7 +560,7 @@ static void __init ixp4xx_clockevent_init(void)
|
|||
|
||||
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 */
|
||||
soft_restart(0);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue