>From 0f1656a6df5ffbfcc22b6a73522b4c41b190ac7a Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Fri, 29 Jan 2010 14:03:12 +0100 Subject: [PATCH] Drop obsolete config BEFS_RW CONFIG_BEFS_RW doesn't have any counterpart in KConfig since virtually ever and there's only one place in the kernel where it is (still?) checked. This patch removes the obsolete check (alwazs evaluates to true). Signed-off-by: Christoph Egger --- fs/befs/linuxvfs.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index 33baf27..4c3e342 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c @@ -778,13 +778,11 @@ befs_fill_super(struct super_block *sb, void *data, int silent) befs_debug(sb, "---> befs_fill_super()"); -#ifndef CONFIG_BEFS_RW if (!(sb->s_flags & MS_RDONLY)) { befs_warning(sb, "No write support. Marking filesystem read-only"); sb->s_flags |= MS_RDONLY; } -#endif /* CONFIG_BEFS_RW */ /* * Set dummy blocksize to read super block. -- 1.6.3.3