summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2ops.c
diff options
context:
space:
mode:
authorEnzo Matsumiya <ematsumiya@suse.de>2022-08-17 14:14:02 -0300
committerSteve French <stfrench@microsoft.com>2022-08-17 18:07:13 -0500
commit68ed14496b032b0c9ef21b38ee45c6c8f3a18ff1 (patch)
treebc67ee611079610c5b03e81c29911cd7abd5d758 /fs/cifs/smb2ops.c
parent5dd8ce24667a70bb9f7808f5eec0354bd37290c6 (diff)
downloadlinux-68ed14496b032b0c9ef21b38ee45c6c8f3a18ff1.tar.bz2
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/smb2ops.c')
-rw-r--r--fs/cifs/smb2ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
index f406af596887..293fdfdf374b 100644
--- a/fs/cifs/smb2ops.c
+++ b/fs/cifs/smb2ops.c
@@ -387,7 +387,7 @@ smb2_dump_detail(void *buf, struct TCP_Server_Info *server)
shdr->Command, shdr->Status, shdr->Flags, shdr->MessageId,
shdr->Id.SyncId.ProcessId);
cifs_server_dbg(VFS, "smb buf %p len %u\n", buf,
- server->ops->calc_smb_size(buf, server));
+ server->ops->calc_smb_size(buf));
#endif
}