Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

NFC: microread: drop unused variable

In microread_i2c_irq_thread_fn 'client' set but not used

Cc: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
Cc: Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by

Tomas Winkler and committed by
Samuel Ortiz
0cd6f667 71fa6fba

-3
-3
drivers/nfc/microread/i2c.c
··· 211 211 static irqreturn_t microread_i2c_irq_thread_fn(int irq, void *phy_id) 212 212 { 213 213 struct microread_i2c_phy *phy = phy_id; 214 - struct i2c_client *client; 215 214 struct sk_buff *skb = NULL; 216 215 int r; 217 216 ··· 218 219 WARN_ON_ONCE(1); 219 220 return IRQ_NONE; 220 221 } 221 - 222 - client = phy->i2c_dev; 223 222 224 223 if (phy->hard_fault != 0) 225 224 return IRQ_HANDLED;