Skip to content

Commit

Permalink
ice: use true/false for bool types
Browse files Browse the repository at this point in the history
Subject says it all.

Signed-off-by: Bruce Allan <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
  • Loading branch information
bwallan authored and Jeff Kirsher committed Feb 16, 2020
1 parent 644f40e commit fb0c5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/intel/ice/ice_xsk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
u16 cleaned_count = ICE_DESC_UNUSED(rx_ring);
unsigned int xdp_xmit = 0;
bool failure = false;
struct xdp_buff xdp;
bool failure = 0;

xdp.rxq = &rx_ring->xdp_rxq;

Expand Down

0 comments on commit fb0c5b0

Please sign in to comment.