summaryrefslogtreecommitdiffstats
path: root/fs/cifs/transport.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2022-08-05 11:15:44 -0500
committerSteve French <stfrench@microsoft.com>2022-08-05 11:24:12 -0500
commitea75a78c07d7f172062822b90fac8a9ac59773a3 (patch)
tree3ba6ba4212c6863169ce8e2c2af537df89afd768 /fs/cifs/transport.c
parentf5fd3f2889dc2f1df83f7d17e9579fe0d269bbb4 (diff)
downloadlinux-ea75a78c07d7f172062822b90fac8a9ac59773a3.tar.gz
linux-ea75a78c07d7f172062822b90fac8a9ac59773a3.tar.bz2
linux-ea75a78c07d7f172062822b90fac8a9ac59773a3.zip
cifs: alloc_mid function should be marked as static
It is only used in transport.c. Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/transport.c')
-rw-r--r--fs/cifs/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c
index dc69ac9dad60..de7aeced7e16 100644
--- a/fs/cifs/transport.c
+++ b/fs/cifs/transport.c
@@ -38,7 +38,7 @@ cifs_wake_up_task(struct mid_q_entry *mid)
wake_up_process(mid->callback_data);
}
-struct mid_q_entry *
+static struct mid_q_entry *
alloc_mid(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server)
{
struct mid_q_entry *temp;