From 982c37cfb6e61c0e64634abc2e305d757c1405b2 Mon Sep 17 00:00:00 2001 From: Eric Van Hensbergen Date: Wed, 17 Oct 2007 14:35:15 -0500 Subject: 9p: remove sysctl A sysctl method was added to enable and disable debugging levels. After further review, it was decided that there are better approaches to doing this and the sysctl methodology isn't really desirable. This patch removes the sysctl code from 9p. Signed-off-by: Eric Van Hensbergen --- include/net/9p/9p.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'include/net/9p') diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h index 7a448a30e39..686425a97b0 100644 --- a/include/net/9p/9p.h +++ b/include/net/9p/9p.h @@ -415,18 +415,4 @@ int p9_idpool_check(int id, struct p9_idpool *p); int p9_error_init(void); int p9_errstr2errno(char *, int); - -#ifdef CONFIG_SYSCTL -int __init p9_sysctl_register(void); -void __exit p9_sysctl_unregister(void); -#else -static inline int p9_sysctl_register(void) -{ - return 0; -} -static inline void p9_sysctl_unregister(void) -{ -} -#endif - #endif /* NET_9P_H */ -- cgit v1.2.3