These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / nfc / microread / i2c.c
index 661e2c8..daf3525 100644 (file)
@@ -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;