diff options
author | Colin Cross <ccross@android.com> | 2010-04-07 12:08:27 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-06-14 09:09:28 -0700 |
commit | 5803e96b7f94bb2f3949181fd6f22c919994bf3b (patch) | |
tree | 7fb0ebb2b678ce426301a782371b1eb62307b811 /fs/partitions | |
parent | f4713d3a28ad0981db2b857eea84c00c6812852b (diff) | |
download | kernel_samsung_tuna-5803e96b7f94bb2f3949181fd6f22c919994bf3b.zip kernel_samsung_tuna-5803e96b7f94bb2f3949181fd6f22c919994bf3b.tar.gz kernel_samsung_tuna-5803e96b7f94bb2f3949181fd6f22c919994bf3b.tar.bz2 |
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 d9b8329..467ac4b 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); |