Commit ecee51b7 authored by Heiko Carstens's avatar Heiko Carstens Committed by Jeff Garzik

qeth: dont return the return values of void functions.

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarUrsula Braun <braunu@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent cde46035
...@@ -1178,9 +1178,9 @@ qeth_ipaddr_to_string(enum qeth_prot_versions proto, const __u8 *addr, ...@@ -1178,9 +1178,9 @@ qeth_ipaddr_to_string(enum qeth_prot_versions proto, const __u8 *addr,
char *buf) char *buf)
{ {
if (proto == QETH_PROT_IPV4) if (proto == QETH_PROT_IPV4)
return qeth_ipaddr4_to_string(addr, buf); qeth_ipaddr4_to_string(addr, buf);
else if (proto == QETH_PROT_IPV6) else if (proto == QETH_PROT_IPV6)
return qeth_ipaddr6_to_string(addr, buf); qeth_ipaddr6_to_string(addr, buf);
} }
static inline int static inline int
......
...@@ -1760,10 +1760,10 @@ qeth_remove_device_attributes(struct device *dev) ...@@ -1760,10 +1760,10 @@ qeth_remove_device_attributes(struct device *dev)
{ {
struct qeth_card *card = dev->driver_data; struct qeth_card *card = dev->driver_data;
if (card->info.type == QETH_CARD_TYPE_OSN) if (card->info.type == QETH_CARD_TYPE_OSN) {
return sysfs_remove_group(&dev->kobj, sysfs_remove_group(&dev->kobj, &qeth_osn_device_attr_group);
&qeth_osn_device_attr_group); return;
}
sysfs_remove_group(&dev->kobj, &qeth_device_attr_group); sysfs_remove_group(&dev->kobj, &qeth_device_attr_group);
sysfs_remove_group(&dev->kobj, &qeth_device_ipato_group); sysfs_remove_group(&dev->kobj, &qeth_device_ipato_group);
sysfs_remove_group(&dev->kobj, &qeth_device_vipa_group); sysfs_remove_group(&dev->kobj, &qeth_device_vipa_group);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment