diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-11-27 15:46:45 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2022-12-02 23:59:20 +0900 |
commit | 31fff92c9cadbca4cd294bcdff285ca3fc9bad7c (patch) | |
tree | d27fafc9c6c5b8b070c4241b08a83e0f8f6d24f3 /net/9p | |
parent | 6e0149a55379d6b91948cf6e94e700eb7dbaa518 (diff) | |
download | linux-stable-31fff92c9cadbca4cd294bcdff285ca3fc9bad7c.tar.gz linux-stable-31fff92c9cadbca4cd294bcdff285ca3fc9bad7c.tar.bz2 linux-stable-31fff92c9cadbca4cd294bcdff285ca3fc9bad7c.zip |
9p/net: Remove unneeded idr.h #include
The 9p net files don't use IDR or IDA functionalities. So there is no point
in including <linux/idr.h>.
Remove it.
Link: https://lkml.kernel.org/r/9e386018601d7e4a9e5d7da8fc3e9555ebb25c87.1669560387.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Christian Schoenebeck <linux_oss@crudebyte.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'net/9p')
-rw-r--r-- | net/9p/trans_fd.c | 1 | ||||
-rw-r--r-- | net/9p/trans_rdma.c | 1 | ||||
-rw-r--r-- | net/9p/trans_virtio.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c index eeea0a6a75b6..06ec9f7d3318 100644 --- a/net/9p/trans_fd.c +++ b/net/9p/trans_fd.c @@ -20,7 +20,6 @@ #include <linux/un.h> #include <linux/uaccess.h> #include <linux/inet.h> -#include <linux/idr.h> #include <linux/file.h> #include <linux/parser.h> #include <linux/slab.h> diff --git a/net/9p/trans_rdma.c b/net/9p/trans_rdma.c index 6ff706760676..33a9ac6f2d55 100644 --- a/net/9p/trans_rdma.c +++ b/net/9p/trans_rdma.c @@ -21,7 +21,6 @@ #include <linux/un.h> #include <linux/uaccess.h> #include <linux/inet.h> -#include <linux/idr.h> #include <linux/file.h> #include <linux/parser.h> #include <linux/semaphore.h> diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index e757f0601304..19bccfa0d593 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c @@ -22,7 +22,6 @@ #include <linux/un.h> #include <linux/uaccess.h> #include <linux/inet.h> -#include <linux/idr.h> #include <linux/file.h> #include <linux/highmem.h> #include <linux/slab.h> |