diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/partitions/check.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c index fec968dd2a1b..5689a0a889a9 100644 --- a/fs/partitions/check.c +++ b/fs/partitions/check.c @@ -327,9 +327,8 @@ static void part_release(struct device *dev) kfree(p); } -static int part_uevent(struct device *dev, struct kobj_uvent_env *env) +static int part_uevent(struct device *dev, struct kobj_uevent_env *env) { - struct gendisk *disk = dev_to_disk(dev); struct hd_struct *part = dev_to_part(dev); add_uevent_var(env, "PARTN=%u", part->partno); |