Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e50dc11 authored by Peng Li's avatar Peng Li Committed by David S. Miller
Browse files

net: hns3: fix a code style issue for hns3_update_new_int_gl()



Use the same code style for rx_group and tx_group in the
hns3_update_new_int_gl().

Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarHuazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent beb73559
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2880,7 +2880,7 @@ static void hns3_update_new_int_gl(struct hns3_enet_tqp_vector *tqp_vector)
	}
	}


	if (tx_group->coal.gl_adapt_enable) {
	if (tx_group->coal.gl_adapt_enable) {
		tx_update = hns3_get_new_int_gl(&tqp_vector->tx_group);
		tx_update = hns3_get_new_int_gl(tx_group);
		if (tx_update)
		if (tx_update)
			hns3_set_vector_coalesce_tx_gl(tqp_vector,
			hns3_set_vector_coalesce_tx_gl(tqp_vector,
						       tx_group->coal.int_gl);
						       tx_group->coal.int_gl);