diff options
author | Enzo Matsumiya <ematsumiya@suse.de> | 2022-08-17 14:14:02 -0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-08-17 18:07:13 -0500 |
commit | 68ed14496b032b0c9ef21b38ee45c6c8f3a18ff1 (patch) | |
tree | bc67ee611079610c5b03e81c29911cd7abd5d758 /fs/cifs/cifsproto.h | |
parent | 5dd8ce24667a70bb9f7808f5eec0354bd37290c6 (diff) | |
download | lwn-68ed14496b032b0c9ef21b38ee45c6c8f3a18ff1.tar.gz lwn-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/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 87a77a684339..3bc94bcc7177 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -151,7 +151,7 @@ extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name, extern struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *, bool); extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name, struct cifsFileInfo **ret_file); -extern unsigned int smbCalcSize(void *buf, struct TCP_Server_Info *server); +extern unsigned int smbCalcSize(void *buf); extern int decode_negTokenInit(unsigned char *security_blob, int length, struct TCP_Server_Info *server); extern int cifs_convert_address(struct sockaddr *dst, const char *src, int len); |