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/cifsglob.h | |
parent | 5dd8ce24667a70bb9f7808f5eec0354bd37290c6 (diff) | |
download | linux-68ed14496b032b0c9ef21b38ee45c6c8f3a18ff1.tar.gz linux-68ed14496b032b0c9ef21b38ee45c6c8f3a18ff1.tar.bz2 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/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index bc0ee2d4b47b..f15d7b0c123d 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -417,7 +417,7 @@ struct smb_version_operations { int (*close_dir)(const unsigned int, struct cifs_tcon *, struct cifs_fid *); /* calculate a size of SMB message */ - unsigned int (*calc_smb_size)(void *buf, struct TCP_Server_Info *ptcpi); + unsigned int (*calc_smb_size)(void *buf); /* check for STATUS_PENDING and process the response if yes */ bool (*is_status_pending)(char *buf, struct TCP_Server_Info *server); /* check for STATUS_NETWORK_SESSION_EXPIRED */ |