ice: use true/false for bool types
Subject says it all. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
committed by
Jeff Kirsher
parent
644f40ea0c
commit
fb0c5b05c1
@@ -841,8 +841,8 @@ int ice_clean_rx_irq_zc(struct ice_ring *rx_ring, int budget)
|
|||||||
unsigned int total_rx_bytes = 0, total_rx_packets = 0;
|
unsigned int total_rx_bytes = 0, total_rx_packets = 0;
|
||||||
u16 cleaned_count = ICE_DESC_UNUSED(rx_ring);
|
u16 cleaned_count = ICE_DESC_UNUSED(rx_ring);
|
||||||
unsigned int xdp_xmit = 0;
|
unsigned int xdp_xmit = 0;
|
||||||
|
bool failure = false;
|
||||||
struct xdp_buff xdp;
|
struct xdp_buff xdp;
|
||||||
bool failure = 0;
|
|
||||||
|
|
||||||
xdp.rxq = &rx_ring->xdp_rxq;
|
xdp.rxq = &rx_ring->xdp_rxq;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user