From: Jeff Layton Date: Wed, 7 Jul 2010 00:43:08 +0000 (-0400) Subject: cifs: remove unused cifsUidInfo struct X-Git-Tag: v2.6.36-rc1~590^2~17 X-Git-Url: https://bbs.cooldavid.org/git/?a=commitdiff_plain;h=8913007e67106597fed4b9dd3787e8dca6915a83;p=net-next-2.6.git cifs: remove unused cifsUidInfo struct Signed-off-by: Jeff Layton Signed-off-by: Steve French --- diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 7b91cb4f0da..793c8e3a0e5 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -196,19 +196,6 @@ struct TCP_Server_Info { #endif }; -/* - * The following is our shortcut to user information. We surface the uid, - * and name. We always get the password on the fly in case it - * has changed. We also hang a list of sessions owned by this user off here. - */ -struct cifsUidInfo { - struct list_head userList; - struct list_head sessionList; /* SMB sessions for this user */ - uid_t linux_uid; - char user[MAX_USERNAME_SIZE + 1]; /* ascii name of user */ - /* BB may need ptr or callback for PAM or WinBind info */ -}; - /* * Session structure. One of these for each uid session with a particular host */ @@ -216,9 +203,6 @@ struct cifsSesInfo { struct list_head smb_ses_list; struct list_head tcon_list; struct mutex session_mutex; -#if 0 - struct cifsUidInfo *uidInfo; /* pointer to user info */ -#endif struct TCP_Server_Info *server; /* pointer to server info */ int ses_count; /* reference counter */ enum statusEnum status;