android_kernel_xiaomi_sm7250/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 sfc: Use DMA_BIT_MASK() instead of our own DMA mask macros 2008-05-22 05:59:30 -04:00
boards.c sfc: Use explicit bool for boolean variables, parameters and return values 2008-09-03 09:53:45 -04:00
boards.h sfc: Use kernel I2C system and i2c-algo-bit driver 2008-05-30 22:18:10 -04:00
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 sfc: Use __packed macro 2008-05-22 05:59:32 -04:00
falcon_io.h sfc: Replaced various macros with inline functions 2008-05-22 05:59:27 -04:00
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 sfc: Use kernel I2C system and i2c-algo-bit driver 2008-05-30 22:18:10 -04:00
mac.h
Makefile sfc: Use kernel I2C system and i2c-algo-bit driver 2008-05-30 22:18:10 -04:00
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