xen: netback: remove redundant xenvif_put
commitd37204566a61d5116d385ae909db8e14a734b30f
authorAndrew Jones <drjones@redhat.com>
Mon, 18 Feb 2013 10:29:20 +0000 (18 10:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2013 05:51:09 +0000 (19 00:51 -0500)
tree1de89382a76c993a0b8c6081609b25eeb6e7f4e2
parent07dcf8e9cc77e86eedfc28fa37713b5471e906b7
xen: netback: remove redundant xenvif_put

netbk_fatal_tx_err() calls xenvif_carrier_off(), which does
a xenvif_put(). As callers of netbk_fatal_tx_err should only
have one reference to the vif at this time, then the xenvif_put
in netbk_fatal_tx_err is one too many.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c