summaryrefslogtreecommitdiff
path: root/fs/smb/server/smb_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/smb/server/smb_common.h')
-rw-r--r--fs/smb/server/smb_common.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/smb/server/smb_common.h b/fs/smb/server/smb_common.h
index 93f28defef3e..ff3e441da125 100644
--- a/fs/smb/server/smb_common.h
+++ b/fs/smb/server/smb_common.h
@@ -423,9 +423,4 @@ unsigned int ksmbd_server_side_copy_max_chunk_size(void);
unsigned int ksmbd_server_side_copy_max_total_size(void);
bool is_asterisk(char *p);
__le32 smb_map_generic_desired_access(__le32 daccess);
-
-static inline unsigned int get_rfc1002_len(void *buf)
-{
- return be32_to_cpu(*((__be32 *)buf)) & 0xffffff;
-}
#endif /* __SMB_COMMON_H__ */