projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2efc771
)
powerpc/eeh: Drop unnecessary label in eeh_pe_change_owner()
author
Gavin Shan
<
[email protected]
>
Wed, 27 Apr 2016 01:14:53 +0000
(11:14 +1000)
committer
Michael Ellerman
<
[email protected]
>
Thu, 12 May 2016 09:52:20 +0000
(19:52 +1000)
The label "reset" in eeh_pe_change_owner() is used only for once.
No need to keep it and just drop it. No logical changes introduced.
Signed-off-by: Gavin Shan <
[email protected]
>
Reviewed-by: David Gibson <
[email protected]
>
Reviewed-by: Russell Currey <
[email protected]
>
Signed-off-by: Michael Ellerman <
[email protected]
>
arch/powerpc/kernel/eeh.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/eeh.c
b/arch/powerpc/kernel/eeh.c
index c4e41cf79874c1854c73a86bd7e17f62ca22618d..9d1d46ccf16c4a4ea330d1a70be43deacc920393 100644
(file)
--- a/
arch/powerpc/kernel/eeh.c
+++ b/
arch/powerpc/kernel/eeh.c
@@
-1336,14
+1336,11
@@
static int eeh_pe_change_owner(struct eeh_pe *pe)
id->subdevice != pdev->subsystem_device)
continue;
-
goto reset
;
+
return eeh_pe_reset_and_recover(pe)
;
}
}
return eeh_unfreeze_pe(pe, true);
-
-reset:
- return eeh_pe_reset_and_recover(pe);
}
/**