diff options
author | Mike Galbraith <efault@gmx.de> | 2021-09-12 11:56:26 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-09-17 08:58:43 -0500 |
commit | a9b3043de47b7f8cbe38c36aee572526665b6315 (patch) | |
tree | 3f2180d0e25d60927fae60b9ce46eb52c63c5a9c /fs/ksmbd/transport_rdma.c | |
parent | bf9f243f23e6623f310ba03fbb14e10ec3a61290 (diff) | |
download | linux-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/transport_rdma.c')
-rw-r--r-- | fs/ksmbd/transport_rdma.c | 1 |
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> |