All of lore.kernel.org
 help / color / mirror / Atom feed
* [char-misc-next] NFC: microread: drop unused variable
@ 2015-05-07 13:38 Tomas Winkler
  2015-06-08 21:32 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Tomas Winkler @ 2015-05-07 13:38 UTC (permalink / raw)
  To: Samuel Ortiz
  Cc: linux-wireless, linux-kernel, Tomas Winkler,
	Lauro Ramos Venancio, Aloisio Almeida Jr

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>
---
 drivers/nfc/microread/i2c.c | 3 ---
 1 file changed, 3 deletions(-)

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;
 
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [char-misc-next] NFC: microread: drop unused variable
  2015-05-07 13:38 [char-misc-next] NFC: microread: drop unused variable Tomas Winkler
@ 2015-06-08 21:32 ` Samuel Ortiz
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2015-06-08 21:32 UTC (permalink / raw)
  To: Tomas Winkler
  Cc: linux-wireless, linux-kernel, Lauro Ramos Venancio, Aloisio Almeida Jr

Hi Tomas,

On Thu, May 07, 2015 at 04:38:30PM +0300, Tomas Winkler wrote:
> 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>
> ---
>  drivers/nfc/microread/i2c.c | 3 ---
>  1 file changed, 3 deletions(-)
Applied to nfc-next, thanks.

Cheers,
Samuel.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-08 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-07 13:38 [char-misc-next] NFC: microread: drop unused variable Tomas Winkler
2015-06-08 21:32 ` Samuel Ortiz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.