net: ena: cosmetic: minor code changes
authorArthur Kiyanovski <akiyano@amazon.com>
Fri, 22 May 2020 09:09:04 +0000 (12:09 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2020 21:12:48 +0000 (14:12 -0700)
commitb0ae3ac4847c6009e7b1963899cd121e84e5082a
tree61f8432b927c2808778898c4b7fb36685ef19dc3
parent6d0862e0ec92d05e0b5bb9e46133e7460c0c675a
net: ena: cosmetic: minor code changes

1. Use BIT macro instead of shift operator for code clarity
2. Replace multiple flag assignments to a single assignment of multiple
   flags in ena_com_add_single_rx_desc()
3. Move ENA_HASH_KEY_SIZE from ena_netdev.h to ena_com.h

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_com.c
drivers/net/ethernet/amazon/ena/ena_com.h
drivers/net/ethernet/amazon/ena/ena_eth_com.c
drivers/net/ethernet/amazon/ena/ena_netdev.h