Skip to content

Commit

Permalink
fs: partitions: Fix warnings in fs/partitions/check.c
Browse files Browse the repository at this point in the history
Change-Id: I4398ace0c55d4833b1fcbb7a4e71ab8f0b1b044a
Signed-off-by: Colin Cross <ccross@android.com>
  • Loading branch information
colincross committed Apr 10, 2010
1 parent 612cd5a commit e27f17b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/partitions/check.c
Expand Up @@ -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);
Expand Down

0 comments on commit e27f17b

Please sign in to comment.