summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2007-03-06 10:42:22 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-06 18:30:26 +0100
commit5a05ed73e1abfd7e0e7d474817245861deaa18af (patch)
treedf2e9b2717719dc900be6a11db4cb33d4b237aae /include
parent[PATCH] knfsd: use recv_msg to get peer address for NFSD instead of code-copying (diff)
downloadlinux-5a05ed73e1abfd7e0e7d474817245861deaa18af.tar.xz
linux-5a05ed73e1abfd7e0e7d474817245861deaa18af.zip
[PATCH] knfsd: remove CONFIG_IPV6 ifdefs from sunrpc server code
They don't really save that much, and aren't worth the hassle. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sunrpc/svc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h
index 83b3c7b433aa..35fa4d5aadd0 100644
--- a/include/linux/sunrpc/svc.h
+++ b/include/linux/sunrpc/svc.h
@@ -194,9 +194,7 @@ static inline void svc_putu32(struct kvec *iov, __be32 val)
union svc_addr_u {
struct in_addr addr;
-#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
struct in6_addr addr6;
-#endif
};
/*