projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e9c0d
)
[ARM] 5249/1: davinci: remove redundant check in davinci_psc_config()
author
roelkluin
<roel.kluin@gmail.com>
Mon, 15 Sep 2008 19:56:44 +0000
(20:56 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 17 Sep 2008 19:57:04 +0000
(20:57 +0100)
id is unsigned, check is redundant.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-davinci/psc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-davinci/psc.c
b/arch/arm/mach-davinci/psc.c
index 720c48b9ee0404257cd218a3fe26b66a035a653d..aa2fc375a3257fcb4a1e5b8e468dc1af7c494650 100644
(file)
--- a/
arch/arm/mach-davinci/psc.c
+++ b/
arch/arm/mach-davinci/psc.c
@@
-70,9
+70,6
@@
void davinci_psc_config(unsigned int domain, unsigned int id, char enable)
{
u32 epcpr, ptcmd, ptstat, pdstat, pdctl1, mdstat, mdctl, mdstat_mask;
- if (id < 0)
- return;
-
mdctl = davinci_readl(DAVINCI_PWR_SLEEP_CNTRL_BASE + MDCTL + 4 * id);
if (enable)
mdctl |= 0x00000003; /* Enable Module */