From: Stefan Raspl Date: Mon, 19 Nov 2012 02:46:45 +0000 (+0000) Subject: qeth: Remove unused variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7bf9bcff45537aad3c71f7f3a4d93e90f3d3d077;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git qeth: Remove unused variable Eliminate a variable that is never modified. Signed-off-by: Stefan Raspl Signed-off-by: Frank Blaschka Reviewed-by: Ursula Braun Signed-off-by: David S. Miller --- diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 4d6ba00d0047..89f6948d93ef 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -2280,7 +2280,6 @@ static int qeth_ulp_setup_cb(struct qeth_card *card, struct qeth_reply *reply, unsigned long data) { struct qeth_cmd_buffer *iob; - int rc = 0; QETH_DBF_TEXT(SETUP, 2, "ulpstpcb"); @@ -2296,7 +2295,7 @@ static int qeth_ulp_setup_cb(struct qeth_card *card, struct qeth_reply *reply, iob->rc = -EMLINK; } QETH_DBF_TEXT_(SETUP, 2, " rc%d", iob->rc); - return rc; + return 0; } static int qeth_ulp_setup(struct qeth_card *card)