summaryrefslogtreecommitdiffstats
path: root/fs/ksmbd
diff options
context:
space:
mode:
authorMike Galbraith <efault@gmx.de>2021-09-12 11:56:26 +0900
committerSteve French <stfrench@microsoft.com>2021-09-17 08:58:43 -0500
commita9b3043de47b7f8cbe38c36aee572526665b6315 (patch)
tree3f2180d0e25d60927fae60b9ce46eb52c63c5a9c /fs/ksmbd
parentbf9f243f23e6623f310ba03fbb14e10ec3a61290 (diff)
downloadlinux-a9b3043de47b7f8cbe38c36aee572526665b6315.tar.bz2
ksmbd: transport_rdma: Don't include rwlock.h directly
rwlock.h specifically asks to not be included directly. In fact, the proper spinlock.h include isn't needed either, it comes with the huge pile that kthread.h ends up pulling in, so just drop it entirely. Signed-off-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd')
-rw-r--r--fs/ksmbd/transport_rdma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ksmbd/transport_rdma.c b/fs/ksmbd/transport_rdma.c
index 52b2556e76b1..3a7fa23ba850 100644
--- a/fs/ksmbd/transport_rdma.c
+++ b/fs/ksmbd/transport_rdma.c
@@ -20,7 +20,6 @@
#define SUBMOD_NAME "smb_direct"
#include <linux/kthread.h>
-#include <linux/rwlock.h>
#include <linux/list.h>
#include <linux/mempool.h>
#include <linux/highmem.h>