netfront: fix LINT-NOIP
r289587 broke LINT-NOIP kernels because the lro and queued local variables are defined but not used. Add preprocessor guards around them. Reported by: emaste Sponsored by: Citrix Systems R&D
This commit is contained in:
parent
f487a357b7
commit
3778878d7c
@ -842,8 +842,10 @@ static void
|
||||
xn_rxeof(struct netfront_info *np)
|
||||
{
|
||||
struct ifnet *ifp;
|
||||
#if (defined(INET) || defined(INET6))
|
||||
struct lro_ctrl *lro = &np->xn_lro;
|
||||
struct lro_entry *queued;
|
||||
#endif
|
||||
struct netfront_rx_info rinfo;
|
||||
struct netif_rx_response *rx = &rinfo.rx;
|
||||
struct netif_extra_info *extras = rinfo.extras;
|
||||
|
Loading…
Reference in New Issue
Block a user