Skip to content

Commit a9b3043

Browse files
Mike Galbraithsmfrench
authored andcommitted
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 <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent bf9f243 commit a9b3043

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/ksmbd/transport_rdma.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#define SUBMOD_NAME "smb_direct"
2121

2222
#include <linux/kthread.h>
23-
#include <linux/rwlock.h>
2423
#include <linux/list.h>
2524
#include <linux/mempool.h>
2625
#include <linux/highmem.h>

0 commit comments

Comments
 (0)