cns3xxx: ethernet: use circular queue checks consistently
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Tue, 7 Aug 2018 09:44:36 +0000 (11:44 +0200)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Tue, 7 Aug 2018 10:53:48 +0000 (12:53 +0200)
commit0d283c0180a22610ed5bee988902525dee90cc71
tree42113f6d5a8eb6b1eac6140b176dc53be16f66cd
parent06beefd6d54c9491c93f03dfdd6174fd29dd3ad8
cns3xxx: ethernet: use circular queue checks consistently

Use the same method for setting queue index pointers consistenly
throughout the source file.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c