summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/sysfs.c')
-rw-r--r--fs/btrfs/sysfs.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index 61af5d8446e3..300076e66765 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -28,7 +28,6 @@
#include "disk-io.h"
#include "transaction.h"
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)
static ssize_t root_blocks_used_show(struct btrfs_root *root, char *buf)
{
return snprintf(buf, PAGE_SIZE, "%llu\n",
@@ -267,35 +266,3 @@ void btrfs_exit_sysfs(void)
kset_unregister(btrfs_kset);
}
-#else
-
-int btrfs_sysfs_add_super(struct btrfs_fs_info *fs)
-{
- return 0;
-}
-
-int btrfs_sysfs_add_root(struct btrfs_root *root)
-{
- return 0;
-}
-
-void btrfs_sysfs_del_root(struct btrfs_root *root)
-{
- return;
-}
-
-void btrfs_sysfs_del_super(struct btrfs_fs_info *fs)
-{
- return;
-}
-
-int btrfs_init_sysfs(void)
-{
- return 0;
-}
-
-void btrfs_exit_sysfs(void)
-{
- return;
-}
-#endif
OpenPOWER on IntegriCloud