summaryrefslogtreecommitdiff
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-07-09 10:28:40 +0200
committerRusty Russell <rusty@rustcorp.com.au>2008-10-17 02:38:36 +1100
commit5f4123be3cdb1dbd77fa9d6d2bb96bb9689a0a19 (patch)
treee636c2ae7d5a5459f4f4625d44754737f45a984f /fs/char_dev.c
parenta65e5d782f9db2a61a914dc01a329e0c2dcf92a1 (diff)
downloadlinux-3.10-5f4123be3cdb1dbd77fa9d6d2bb96bb9689a0a19.tar.gz
linux-3.10-5f4123be3cdb1dbd77fa9d6d2bb96bb9689a0a19.tar.bz2
linux-3.10-5f4123be3cdb1dbd77fa9d6d2bb96bb9689a0a19.zip
remove CONFIG_KMOD from fs
Just always compile the code when the kernel is modular. Convert load_nls to use try_then_request_module to tidy up the code. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'fs/char_dev.c')
-rw-r--r--fs/char_dev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/char_dev.c b/fs/char_dev.c
index 3cb7cda3d78..262fa10e213 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -22,9 +22,6 @@
#include <linux/mutex.h>
#include <linux/backing-dev.h>
-#ifdef CONFIG_KMOD
-#include <linux/kmod.h>
-#endif
#include "internal.h"
/*