summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorYu Zhe <yuzhe@nfschina.com>2022-06-14 01:54:49 -0700
committerSteve French <stfrench@microsoft.com>2022-08-01 01:34:44 -0500
commit0827f71b881c9d679df4cb33936cbe8bcaa77321 (patch)
tree208379b8acdb52eb20b954c5fb7d670337876c27 /fs/cifs
parent0f46608ae7a138ae5982f97414e8cfc38a2e0f7e (diff)
cifs: remove unnecessary (void*) conversions.
One more. remove unnecessary void* type castings. Signed-off-by: Yu Zhe <yuzhe@nfschina.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/cifs_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c
index 2cfbac8bb965..97116c1710e2 100644
--- a/fs/cifs/cifs_debug.c
+++ b/fs/cifs/cifs_debug.c
@@ -36,7 +36,7 @@ cifs_dump_mem(char *label, void *data, int length)
void cifs_dump_detail(void *buf, struct TCP_Server_Info *server)
{
#ifdef CONFIG_CIFS_DEBUG2
- struct smb_hdr *smb = (struct smb_hdr *)buf;
+ struct smb_hdr *smb = buf;
cifs_dbg(VFS, "Cmd: %d Err: 0x%x Flags: 0x%x Flgs2: 0x%x Mid: %d Pid: %d\n",
smb->Command, smb->Status.CifsError,