From: Tomas Winkler Date: Thu, 7 May 2015 13:38:30 +0000 (+0300) Subject: NFC: microread: drop unused variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0cd6f66739ac8a936d4660d45ecb99eb801709a4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git NFC: microread: drop unused variable In microread_i2c_irq_thread_fn 'client' set but not used Cc: Lauro Ramos Venancio Cc: Aloisio Almeida Jr Signed-off-by: Tomas Winkler Signed-off-by: Samuel Ortiz --- diff --git a/drivers/nfc/microread/i2c.c b/drivers/nfc/microread/i2c.c index 661e2c8143c4..daf352597ef8 100644 --- a/drivers/nfc/microread/i2c.c +++ b/drivers/nfc/microread/i2c.c @@ -211,7 +211,6 @@ flush: static irqreturn_t microread_i2c_irq_thread_fn(int irq, void *phy_id) { struct microread_i2c_phy *phy = phy_id; - struct i2c_client *client; struct sk_buff *skb = NULL; int r; @@ -220,8 +219,6 @@ static irqreturn_t microread_i2c_irq_thread_fn(int irq, void *phy_id) return IRQ_NONE; } - client = phy->i2c_dev; - if (phy->hard_fault != 0) return IRQ_HANDLED;