From: Julian Wiedmann Date: Thu, 12 Jan 2017 14:48:38 +0000 (+0100) Subject: s390/qeth: don't convert return code twice X-Git-Tag: v4.14-rc1~1463^2~437^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b764d1de395090662fd0291968d5ded523f07e4;p=platform%2Fkernel%2Flinux-rpi3.git s390/qeth: don't convert return code twice qeth_l2_send_groupmac() already translates the return code, so calling qeth_setdel_makerc() a second time only produces garbage. Signed-off-by: Julian Wiedmann Reviewed-by: Thomas Richter Reviewed-by: Ursula Braun Signed-off-by: David S. Miller --- diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index 3025f56..38fae10 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c @@ -210,8 +210,7 @@ static int qeth_l2_write_mac(struct qeth_card *card, struct qeth_mac *mac) qeth_l2_send_setdelmac(card, mac->mac_addr, IPA_CMD_SETVMAC)); } else { - rc = qeth_setdel_makerc(card, - qeth_l2_send_setgroupmac(card, mac->mac_addr)); + rc = qeth_l2_send_setgroupmac(card, mac->mac_addr); } return rc; }