diff options
author | Colin Cross <ccross@android.com> | 2011-12-02 14:05:38 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-12-02 14:05:38 +0800 |
commit | 2cd225720ef5364ef83a40bcda2da852ddfe6167 (patch) | |
tree | d966e039e32f67f566b0d3f90fff6ad0799cd145 | |
parent | dbc1560f7f36e9d69939d990c7e5afb71e633e12 (diff) |
fs: partitions: Fix warnings in fs/partitions/check.c
Change-Id: I4398ace0c55d4833b1fcbb7a4e71ab8f0b1b044a
Signed-off-by: Colin Cross <ccross@android.com>
-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 3c54bbcea5b..eca21808246 100644 --- a/fs/partitions/check.c +++ b/fs/partitions/check.c @@ -366,9 +366,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); |