xen-netback: remove loop waiting function
authorWei Liu <wei.liu2@citrix.com>
Tue, 12 Aug 2014 10:48:08 +0000 (11:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2014 03:07:44 +0000 (20:07 -0700)
commitb1252858213f39700dac1bc3295b6e88f6cce24b
treea97ba22dad20761ac3eddcd7cf51463a872c4d60
parenta64bd934528e26e8956112e43a279fba2ee0634e
xen-netback: remove loop waiting function

The original implementation relies on a loop to check if all inflight
packets are freed. Now we have proper reference counting, there's no
need to use loop anymore.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Zoltan Kiss <zoltan.kiss@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/interface.c