]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
net: hns3: fix a code style issue for hns3_update_new_int_gl()
authorPeng Li <lipeng321@huawei.com>
Sat, 2 Feb 2019 14:39:26 +0000 (22:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Feb 2019 16:24:08 +0000 (08:24 -0800)
Use the same code style for rx_group and tx_group in the
hns3_update_new_int_gl().

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c

index c546b874d6599b3b439e78f89d378e984e7e176d..1d3f167ee1e42efe6501932eb87c8d754dbfecfd 100644 (file)
@@ -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) {
-               tx_update = hns3_get_new_int_gl(&tqp_vector->tx_group);
+               tx_update = hns3_get_new_int_gl(tx_group);
                if (tx_update)
                        hns3_set_vector_coalesce_tx_gl(tqp_vector,
                                                       tx_group->coal.int_gl);