diff options
author | Anton Vorontsov <cbou@mail.ru> | 2007-07-14 21:18:25 -0400 |
---|---|---|
committer | Anton Vorontsov <cbou@mail.ru> | 2007-07-15 14:32:38 -0400 |
commit | 7b3d54a8c30d2c524889a05d0c1334813d516b93 (patch) | |
tree | 7bcbfadc8604f04bea356a8fc61f8069daf24b85 /drivers/power/power_supply_sysfs.c | |
parent | 5ebf6e6a96e41220edec23a90e4140985d1a5732 (diff) |
Power supply class and drivers: remove non obligatory return statements
Per Jeff Garzik request.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Anton Vorontsov <cbou@mail.ru>
Diffstat (limited to 'drivers/power/power_supply_sysfs.c')
-rw-r--r-- | drivers/power/power_supply_sysfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c index c07d4258d347..c7c4574729b1 100644 --- a/drivers/power/power_supply_sysfs.c +++ b/drivers/power/power_supply_sysfs.c | |||
@@ -176,8 +176,6 @@ void power_supply_remove_attrs(struct power_supply *psy) | |||
176 | for (i = 0; i < psy->num_properties; i++) | 176 | for (i = 0; i < psy->num_properties; i++) |
177 | device_remove_file(psy->dev, | 177 | device_remove_file(psy->dev, |
178 | &power_supply_attrs[psy->properties[i]]); | 178 | &power_supply_attrs[psy->properties[i]]); |
179 | |||
180 | return; | ||
181 | } | 179 | } |
182 | 180 | ||
183 | static char *kstruprdup(const char *str, gfp_t gfp) | 181 | static char *kstruprdup(const char *str, gfp_t gfp) |