linux/drivers/net/ethernet/amazon/ena
Shay Agroskin 1e5847395e net: ena: fix coding style nits
This commit fixes two nits, but it does not generate any change to binary
because of the optimization of gcc.

  - use `count` instead of `channels->combined_count`
  - change return type from `int` to `bool`

Also add spaces and change macro order in OR assignment to make the code
easier to read.

Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-12-09 15:26:40 -08:00
..
ena_admin_defs.h net: ena: Change RSS related macros and variables names 2020-09-21 13:54:23 -07:00
ena_com.c net: ena: store values in their appropriate variables types 2020-12-09 15:26:40 -08:00
ena_com.h net: ena: store values in their appropriate variables types 2020-12-09 15:26:40 -08:00
ena_common_defs.h net: ena: Change license into format to SPDX in all files 2020-09-21 13:54:22 -07:00
ena_eth_com.c net: ena: fix coding style nits 2020-12-09 15:26:40 -08:00
ena_eth_com.h net: ena: add device distinct log prefix to files 2020-12-09 15:26:40 -08:00
ena_eth_io_defs.h net: ena: Change license into format to SPDX in all files 2020-09-21 13:54:22 -07:00
ena_ethtool.c net: ena: fix coding style nits 2020-12-09 15:26:40 -08:00
ena_netdev.c net: ena: add device distinct log prefix to files 2020-12-09 15:26:40 -08:00
ena_netdev.h net: ena: fix coding style nits 2020-12-09 15:26:40 -08:00
ena_pci_id_tbl.h net: ena: Change license into format to SPDX in all files 2020-09-21 13:54:22 -07:00
ena_regs_defs.h net: ena: Change license into format to SPDX in all files 2020-09-21 13:54:22 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00