NFS: Remove duplicate include
Subsystems (2)
PATCH 1/1 NFS: Remove duplicate include
./fs/nfs/dns_resolve.c: linux/module.h is included more than once.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- fs/nfs/dns_resolve.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/nfs/dns_resolve.c +2 -2
@@ -7,9 +7,10 @@* Resolves DNS hostnames into valid ip addresses */ +#include <linux/module.h> +#ifdef CONFIG_NFS_USE_KERNEL_DNS -#include <linux/module.h> #include <linux/sunrpc/clnt.h> #include <linux/sunrpc/addr.h> #include <linux/dns_resolver.h>
@@ -35,7 +36,6 @@ ssize_t nfs_dns_resolve_name(struct net *net, char *name, size_t namelen,#else -#include <linux/module.h> #include <linux/hash.h> #include <linux/string.h> #include <linux/kmod.h>
Signature · 1 line
2.20.1.7.g153144c