From: Venu Byravarasu Date: Mon, 17 Sep 2012 05:30:47 +0000 (+0530) Subject: mfd: tps65090: Remove redundant check X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=99de1cc5a77122e59640668b202280ecdb0f3c2e;p=linux-beck.git mfd: tps65090: Remove redundant check Remove redundant check in is_volatile_reg(). Signed-off-by: Venu Byravarasu Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c index 50fd87c87a1c..074ae32b0d2a 100644 --- a/drivers/mfd/tps65090.c +++ b/drivers/mfd/tps65090.c @@ -236,7 +236,7 @@ static int __devinit tps65090_irq_init(struct tps65090 *tps65090, int irq, static bool is_volatile_reg(struct device *dev, unsigned int reg) { - if ((reg == TPS65090_INT_STS) || (reg == TPS65090_INT_STS)) + if (reg == TPS65090_INT_STS) return true; else return false;