mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
ksmbd: remove unused ksmbd_tree_conn_share function
[ Upstream commit 7bd9f0876f ]
Remove unused ksmbd_tree_conn_share function.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b069977b2b
commit
294a275f37
@@ -120,17 +120,6 @@ struct ksmbd_tree_connect *ksmbd_tree_conn_lookup(struct ksmbd_session *sess,
|
|||||||
return tcon;
|
return tcon;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct ksmbd_share_config *ksmbd_tree_conn_share(struct ksmbd_session *sess,
|
|
||||||
unsigned int id)
|
|
||||||
{
|
|
||||||
struct ksmbd_tree_connect *tc;
|
|
||||||
|
|
||||||
tc = ksmbd_tree_conn_lookup(sess, id);
|
|
||||||
if (tc)
|
|
||||||
return tc->share_conf;
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
int ksmbd_tree_conn_session_logoff(struct ksmbd_session *sess)
|
int ksmbd_tree_conn_session_logoff(struct ksmbd_session *sess)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|||||||
@@ -53,9 +53,6 @@ int ksmbd_tree_conn_disconnect(struct ksmbd_session *sess,
|
|||||||
struct ksmbd_tree_connect *ksmbd_tree_conn_lookup(struct ksmbd_session *sess,
|
struct ksmbd_tree_connect *ksmbd_tree_conn_lookup(struct ksmbd_session *sess,
|
||||||
unsigned int id);
|
unsigned int id);
|
||||||
|
|
||||||
struct ksmbd_share_config *ksmbd_tree_conn_share(struct ksmbd_session *sess,
|
|
||||||
unsigned int id);
|
|
||||||
|
|
||||||
int ksmbd_tree_conn_session_logoff(struct ksmbd_session *sess);
|
int ksmbd_tree_conn_session_logoff(struct ksmbd_session *sess);
|
||||||
|
|
||||||
#endif /* __TREE_CONNECT_MANAGEMENT_H__ */
|
#endif /* __TREE_CONNECT_MANAGEMENT_H__ */
|
||||||
|
|||||||
Reference in New Issue
Block a user