]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove unnecessary parameter 'is_alloc' in hclge_set_umv_space()
authorJian Shen <shenjian15@huawei.com>
Fri, 24 Apr 2020 02:23:07 +0000 (10:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Apr 2020 03:29:44 +0000 (20:29 -0700)
commit562f8f3642981ff7546f8347dd49401344c73c66
treea5c96da17567552ab39274164eb011b671082bee
parent61076153724f91e8db4b505a65656245e9c5a86e
net: hns3: remove unnecessary parameter 'is_alloc' in hclge_set_umv_space()

Since hclge_set_umv_space() is only called by hclge_init_umv_space(),
so parameter 'is_alloc' is redundant.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c