diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2020-04-26 10:13:48 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-25 20:56:45 -0700 |
commit | 3fd8dc269ff0647819589c21b2ce60af6fc0a455 (patch) | |
tree | 45de51f020ff265a5430d1aae4e5ceef216e314f /drivers/net/ethernet/atheros/ag71xx.c | |
parent | 659d4587fe7233bfdff303744b20d6f41ad04362 (diff) | |
download | linux-3fd8dc269ff0647819589c21b2ce60af6fc0a455.tar.bz2 |
net: hns3: remove an unnecessary check in hclge_set_umv_space()
Since hclge_set_umv_space() is only called by hclge_init_umv_space(),
parameter 'allocated_size' will not be NULL.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros/ag71xx.c')
0 files changed, 0 insertions, 0 deletions