Commit 587a7126 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller
Browse files

xen-netback: remove redundant assignment to err



The variable err is assigned with the value -ENOMEM that is never
read and it is re-assigned a new value later on.  The assignment is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarWei Liu <wei.liu2@citrix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6f43e525
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -633,7 +633,7 @@ int xenvif_connect_data(struct xenvif_queue *queue,
			unsigned int rx_evtchn)
{
	struct task_struct *task;
	int err = -ENOMEM;
	int err;

	BUG_ON(queue->tx_irq);
	BUG_ON(queue->task);