From: roelkluin Date: Mon, 15 Sep 2008 19:56:44 +0000 (+0100) Subject: [ARM] 5249/1: davinci: remove redundant check in davinci_psc_config() X-Git-Tag: v2.6.27-rc7~14^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=380b0fdfd0227d7604cd91ad97fb846ba643e0e7;p=linux-2.6-omap-h63xx.git [ARM] 5249/1: davinci: remove redundant check in davinci_psc_config() id is unsigned, check is redundant. Signed-off-by: Roel Kluin Signed-off-by: Russell King --- diff --git a/arch/arm/mach-davinci/psc.c b/arch/arm/mach-davinci/psc.c index 720c48b9ee0..aa2fc375a32 100644 --- 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 */