qeth: dont return the return values of void functions.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

authored by Heiko Carstens and committed by Jeff Garzik ecee51b7 cde46035

+6 -6
+2 -2
drivers/s390/net/qeth.h
··· 1178 1178 char *buf) 1179 1179 { 1180 1180 if (proto == QETH_PROT_IPV4) 1181 - return qeth_ipaddr4_to_string(addr, buf); 1181 + qeth_ipaddr4_to_string(addr, buf); 1182 1182 else if (proto == QETH_PROT_IPV6) 1183 - return qeth_ipaddr6_to_string(addr, buf); 1183 + qeth_ipaddr6_to_string(addr, buf); 1184 1184 } 1185 1185 1186 1186 static inline int
+4 -4
drivers/s390/net/qeth_sys.c
··· 1760 1760 { 1761 1761 struct qeth_card *card = dev->driver_data; 1762 1762 1763 - if (card->info.type == QETH_CARD_TYPE_OSN) 1764 - return sysfs_remove_group(&dev->kobj, 1765 - &qeth_osn_device_attr_group); 1766 - 1763 + if (card->info.type == QETH_CARD_TYPE_OSN) { 1764 + sysfs_remove_group(&dev->kobj, &qeth_osn_device_attr_group); 1765 + return; 1766 + } 1767 1767 sysfs_remove_group(&dev->kobj, &qeth_device_attr_group); 1768 1768 sysfs_remove_group(&dev->kobj, &qeth_device_ipato_group); 1769 1769 sysfs_remove_group(&dev->kobj, &qeth_device_vipa_group);