Patchwork phonet: remove the unused variable pn

login
register
mail settings
Submitter Changli Gao
Date Oct. 20, 2010, 7:51 a.m.
Message ID <1287561063-24548-1-git-send-email-xiaosuo@gmail.com>
Download mbox | patch
Permalink /patch/68393/
State Accepted
Delegated to: David Miller
Headers show

Comments

Changli Gao - Oct. 20, 2010, 7:51 a.m.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
---
 net/phonet/pep.c |    1 -
 1 file changed, 1 deletion(-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Oct. 20, 2010, 8:56 a.m.
From: Changli Gao <xiaosuo@gmail.com>
Date: Wed, 20 Oct 2010 15:51:03 +0800

> Signed-off-by: Changli Gao <xiaosuo@gmail.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/net/phonet/pep.c b/net/phonet/pep.c
index 9c903f9..3e60f2e 100644
--- a/net/phonet/pep.c
+++ b/net/phonet/pep.c
@@ -300,7 +300,6 @@  static int pipe_handler_send_ind(struct sock *sk, u8 utid, u8 msg_id)
 
 static int pipe_handler_enable_pipe(struct sock *sk, int enable)
 {
-	struct pep_sock *pn = pep_sk(sk);
 	int utid, req;
 
 	if (enable) {