linux_dsm_epyc7002/drivers/net/sfc
Ben Hutchings dc8cfa55da sfc: Use explicit bool for boolean variables, parameters and return values
Replace (cond ? 1 : 0) with cond or !!cond as appropriate, and
(cond ? 0 : 1) with !cond.

Remove some redundant boolean temporaries.

Rename one field that looks like a flag but isn't.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-09-03 09:53:45 -04:00
..
bitfield.h
boards.c sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
boards.h
efx.c sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
efx.h sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
enum.h sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
ethtool.c sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
ethtool.h
falcon_hwdefs.h
falcon_io.h
falcon_xmac.c sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
falcon.c sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
falcon.h sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
gmii.h
Kconfig
mac.h
Makefile
mdio_10g.c sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
mdio_10g.h sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
net_driver.h sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
phy.h sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
rx.c sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
rx.h sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
selftest.c sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
selftest.h sfc: Use separate hardware TX queues to select checksum generation 2008-09-03 09:53:42 -04:00
sfe4001.c sfc: Reduce delays in SFE4001 initialisation 2008-09-03 09:53:42 -04:00
spi.h
tenxpress.c sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
tx.c sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
tx.h
workarounds.h sfc: Remove mistaken hardware workaround 2008-09-03 09:53:43 -04:00
xenpack.h
xfp_phy.c sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00