Blob Blame History Raw
From: Steve French <stfrench@microsoft.com>
Date: Sat, 5 Jun 2021 15:33:00 -0500
Subject: [PATCH] cifs: remove duplicated prototype
Git-commit: f2756527d37563b98d18fe9f1fa56ada2e79f7cf
Patch-mainline: v5.14-rc1
References: bsc#1192606

smb2_find_smb_ses was defined twice in smb2proto.h

Signed-off-by: Steve French <stfrench@microsoft.com>
Acked-by: Enzo Matsumiya <ematsumiya@suse.de>
---
 fs/cifs/smb2proto.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h
index a5f87b02cfaf..4152077e3c07 100644
--- a/fs/cifs/smb2proto.h
+++ b/fs/cifs/smb2proto.h
@@ -64,8 +64,6 @@ extern void smb2_echo_request(struct work_struct *work);
 extern __le32 smb2_get_lease_state(struct cifsInodeInfo *cinode);
 extern bool smb2_is_valid_oplock_break(char *buffer,
 				       struct TCP_Server_Info *srv);
-extern struct cifs_ses *smb2_find_smb_ses(struct TCP_Server_Info *server,
-					  __u64 ses_id);
 extern int smb3_handle_read_data(struct TCP_Server_Info *server,
 				 struct mid_q_entry *mid);
 
-- 
2.33.1