diff options
author | Colin Cross <ccross@android.com> | 2010-04-07 12:08:27 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2010-09-29 17:49:32 -0700 |
commit | 0f1d4d74376d59796736cc398abcd9ef1cef21e3 (patch) | |
tree | 7c192c5c5c5bcd48bd79334fd14d062c52bea4d1 /fs/partitions | |
parent | a43d3f835fa20875980d0a363f1543725d6dc55c (diff) |
fs: partitions: Fix warnings in fs/partitions/check.c
Change-Id: I4398ace0c55d4833b1fcbb7a4e71ab8f0b1b044a
Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'fs/partitions')
-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 019cdada4764..77e420c0d2c0 100644 --- a/fs/partitions/check.c +++ b/fs/partitions/check.c @@ -355,9 +355,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); |