diff options
author | Enzo Matsumiya <ematsumiya@suse.de> | 2022-08-17 19:14:02 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-08-18 01:07:13 +0200 |
commit | 68ed14496b032b0c9ef21b38ee45c6c8f3a18ff1 (patch) | |
tree | bc67ee611079610c5b03e81c29911cd7abd5d758 /fs/cifs/smb2proto.h | |
parent | cifs: missing directory in MAINTAINERS file (diff) | |
download | linux-68ed14496b032b0c9ef21b38ee45c6c8f3a18ff1.tar.xz linux-68ed14496b032b0c9ef21b38ee45c6c8f3a18ff1.zip |
cifs: remove unused server parameter from calc_smb_size()
This parameter is unused by the called function
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index 51c5bf4a338a..08f243757b9b 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h @@ -23,7 +23,7 @@ struct smb_rqst; extern int map_smb2_to_linux_error(char *buf, bool log_err); extern int smb2_check_message(char *buf, unsigned int length, struct TCP_Server_Info *server); -extern unsigned int smb2_calc_size(void *buf, struct TCP_Server_Info *server); +extern unsigned int smb2_calc_size(void *buf); extern char *smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *shdr); extern __le16 *cifs_convert_path_to_utf16(const char *from, |