net: hns3: use macro instead of magic number

This patch uses macro to replace some magic number.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Huazhong Tan 2019-08-28 22:23:06 +08:00 • committed by David S. Miller
commit 6f92bfd70a
2 changed files with 6 additions and 3 deletions