Message ID | eb3ff54b0906250742r1507927ai1755e514506bad0d@mail.gmail.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Rami Rosen <ramirose@gmail.com> Date: Thu, 25 Jun 2009 17:42:19 +0300 > This patch removes an unused member (seq) scm_cookie; besides initialized > to 0 in the header file, it is not used. > > Signed-off-by: Rami Rosen <ramirose@gmail.com> Applied. -- 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 --git a/include/net/scm.h b/include/net/scm.h index f45bb6e..cf48c80 100644 --- a/include/net/scm.h +++ b/include/net/scm.h @@ -26,7 +26,6 @@ struct scm_cookie #ifdef CONFIG_SECURITY_NETWORK u32 secid; /* Passed security ID */ #endif - unsigned long seq; /* Connection seqno */ }; extern void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm); @@ -59,7 +58,6 @@ static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, scm->creds.gid = current_gid(); scm->creds.pid = task_tgid_vnr(p); scm->fp = NULL; - scm->seq = 0; unix_get_peersec_dgram(sock, scm); if (msg->msg_controllen <= 0) return 0;
Hi, This patch removes an unused member (seq) scm_cookie; besides initialized to 0 in the header file, it is not used. Regards, Rami Rosen Signed-off-by: Rami Rosen <ramirose@gmail.com>