diff mbox series

[CIFS] Remove duplicated prototype

Message ID CAH2r5msw+NW758zrjaqzUQ3unA5pbNxpu3b6quAg0gndn1_BXQ@mail.gmail.com (mailing list archive)
State New, archived
Headers show
Series [CIFS] Remove duplicated prototype | expand

Commit Message

Steve French June 5, 2021, 8:35 p.m. UTC
trivial patch merged into cifs-2.6.git for-next
diff mbox series

Patch

From 431b9c158cb1e1ed906871f82fef09c0af7299db Mon Sep 17 00:00:00 2001
From: Steve French <stfrench@microsoft.com>
Date: Sat, 5 Jun 2021 15:33:00 -0500
Subject: [PATCH] cifs: remove duplicated prototype

smb2_find_smb_ses was defined twice in smb2proto.h

Signed-off-by: Steve French <stfrench@microsoft.com>
---
 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.30.2