summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/genhd.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index eea61cc8fac1..bd7db861041e 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -78,9 +78,7 @@ struct hd_struct {
sector_t start_sect;
sector_t nr_sects;
struct kobject kobj;
-#ifdef CONFIG_SYSFS
struct kobject *holder_dir;
-#endif
unsigned ios[2], sectors[2]; /* READs and WRITEs */
int policy, partno;
};
@@ -117,10 +115,8 @@ struct gendisk {
int number; /* more of the same */
struct device *driverfs_dev;
struct kobject kobj;
-#ifdef CONFIG_SYSFS
struct kobject *holder_dir;
struct kobject *slave_dir;
-#endif
struct timer_rand_state *random;
int policy;