xen-netback: remove redundent parameter in netbk_count_requests
authorWei Liu <wei.liu2@citrix.com>
Thu, 2 May 2013 00:43:57 +0000 (00:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 May 2013 20:50:08 +0000 (16:50 -0400)
commitac69c26e7accb04ae2cb9ab0872068983a42b3c8
tree637729032495359ddb2df58950105c202d0fa688
parentc2bba3dfc16e625e73f986a21110cb784cddd30a
xen-netback: remove redundent parameter in netbk_count_requests

Tracking down from the caller, first_idx is always equal to vif->tx.req_cons.
Remove it to avoid confusion.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c