net: hns3: refine some macro definitions
authorGuojia Liao <liaoguojia@huawei.com>
Fri, 9 Aug 2019 02:31:18 +0000 (10:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2019 20:44:33 +0000 (13:44 -0700)
commiteddd98600b382d80cd71e44150eec5de4a0830a4
tree93797f5c6f6fcead0c80e7a72e345fb1ea3beb56
parent427a7bff66c8a9f8cf68384e24093fc4bf7763a1
net: hns3: refine some macro definitions

Macro arguments should be enclosed in parentheses, in case of
expression argument, but parentheses of pure number in macro
definition should be removed for simplicity.

Signed-off-by: Guojia Liao <liaoguojia@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h