[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56880EE0.6080405@users.sourceforge.net>
Date: Sat, 2 Jan 2016 18:54:40 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: xen-devel@...ts.xenproject.org, netdev@...r.kernel.org,
Ian Campbell <ian.campbell@...rix.com>,
Wei Liu <wei.liu2@...rix.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: [PATCH 1/5] xen-netback: Delete an unnecessary assignment in
connect_rings()
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Sat, 2 Jan 2016 17:32:40 +0100
Remove the assignment for a local variable because its value is not
changed compared to the one from a previous function call.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
drivers/net/xen-netback/xenbus.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c
index 56ebd82..7f2895d 100644
--- a/drivers/net/xen-netback/xenbus.c
+++ b/drivers/net/xen-netback/xenbus.c
@@ -941,7 +941,6 @@ static int connect_rings(struct backend_info *be, struct xenvif_queue *queue)
goto err;
}
- err = 0;
err: /* Regular return falls through with err == 0 */
kfree(xspath);
return err;
--
2.6.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists