projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4945789
)
IXP4xx: remove '1 &&' from a condition check in ixp4xx_restart()
author
Krzysztof Hałasa
<khalasa@piap.pl>
Thu, 2 Jan 2014 08:34:10 +0000
(09:34 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Thu, 2 Jan 2014 12:47:25 +0000
(13:47 +0100)
Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/arm/mach-ixp4xx/common.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-ixp4xx/common.c
b/arch/arm/mach-ixp4xx/common.c
index
9edaf47
..
a7906eb
100644
(file)
--- 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)
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 {