Patchwork [net-next] unix: Remove unused field from unix_sock

login
register
mail settings
Submitter Pavel Emelyanov
Date Oct. 12, 2012, 2:53 p.m.
Message ID <50782ED6.7090704@parallels.com>
Download mbox | patch
Permalink /patch/191136/
State Deferred
Delegated to: David Miller
Headers show

Comments

Pavel Emelyanov - Oct. 12, 2012, 2:53 p.m.
The struct sock *other one seem to be unused. Grep and make do not object.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>

---

--
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. 12, 2012, 7:26 p.m.
From: Pavel Emelyanov <xemul@parallels.com>
Date: Fri, 12 Oct 2012 18:53:10 +0400

> The struct sock *other one seem to be unused. Grep and make do not object.
> 
> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>

Please resend this when net-next opens back up, 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/include/net/af_unix.h b/include/net/af_unix.h
index b5f8988..0a996a3 100644
--- a/include/net/af_unix.h
+++ b/include/net/af_unix.h
@@ -53,7 +53,6 @@  struct unix_sock {
 	struct path		path;
 	struct mutex		readlock;
 	struct sock		*peer;
-	struct sock		*other;
 	struct list_head	link;
 	atomic_long_t		inflight;
 	spinlock_t		lock;