projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/arch/arm/mach-ixp4xx/common.c
b/arch/arm/mach-ixp4xx/common.c
index 9edaf4734fa84956d27539b2411e581aa1ef76a5..a7906ebedb19ad202fda88ed91ad1c147e5614d0 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 {