diff mbox

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

Message ID 50782ED6.7090704@parallels.com
State Deferred, archived
Delegated to: David Miller
Headers show

Commit Message

Pavel Emelyanov Oct. 12, 2012, 2:53 p.m. UTC
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

Comments

David Miller Oct. 12, 2012, 7:26 p.m. UTC | #1
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
diff mbox

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;