diff options
author | Guangbin Huang <huangguangbin2@huawei.com> | 2021-05-13 09:26:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-14 01:39:10 +0300 |
commit | c8ad5df6151e457ad995fdee6440a45af09b70f6 (patch) | |
tree | 50f7aaeff324a0c5606ae5900c0c4c561d929e22 /drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | |
parent | 3402ab54a8e37a48f72b8b3dad543bb839ec4d2d (diff) | |
download | linux-c8ad5df6151e457ad995fdee6440a45af09b70f6.tar.xz |
net: hinic: remove unnecessary parentheses
There are some unnecessary parentheses, this patch deletes them.
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c')
-rw-r--r-- | drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c b/drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c index 5a6bbee819cd..577cb2cffff2 100644 --- a/drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c +++ b/drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c @@ -223,7 +223,7 @@ static void cmdq_prepare_wqe_ctrl(struct hinic_cmdq_wqe *wqe, int wrapped, saved_data = CMDQ_WQE_HEADER(wqe)->saved_data; saved_data = HINIC_SAVED_DATA_CLEAR(saved_data, ARM); - if ((cmd == CMDQ_SET_ARM_CMD) && (mod == HINIC_MOD_COMM)) + if (cmd == CMDQ_SET_ARM_CMD && mod == HINIC_MOD_COMM) CMDQ_WQE_HEADER(wqe)->saved_data |= HINIC_SAVED_DATA_SET(1, ARM); else |