diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2020-01-22 18:21:38 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-02-16 05:37:56 +0300 |
commit | fb0c5b05c1d4ca512c0ba13053da002ee89d388b (patch) | |
tree | 4881fcf45c93bd5a3db2ceefe1bbd56f706152a6 /drivers/net | |
parent | 644f40ea0c08942f088fbcaf2f43d999fc64fce4 (diff) | |
download | linux-fb0c5b05c1d4ca512c0ba13053da002ee89d388b.tar.xz |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_xsk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_xsk.c b/drivers/net/ethernet/intel/ice/ice_xsk.c index b6b0f1180b13..55d994f2d71e 100644 --- a/drivers/net/ethernet/intel/ice/ice_xsk.c +++ b/drivers/net/ethernet/intel/ice/ice_xsk.c @@ -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; |