diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-06-02 08:16:35 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-06-03 02:35:03 +0200 |
commit | 193ba03141bb987c3af985f6479840030fec0534 (patch) | |
tree | faa6b64b28342069cc83cf5807a1483b5433f78a /sound/oss | |
parent | RDMA/hns: Uninitialized variable in modify_qp_init_to_rtr() (diff) | |
download | linux-193ba03141bb987c3af985f6479840030fec0534.tar.xz linux-193ba03141bb987c3af985f6479840030fec0534.zip |
IB/hfi1: Use free_netdev() in hfi1_netdev_free()
dummy_netdev shold be freed by free_netdev() instead of kfree(). Also
remove unneeded variable 'priv'
Fixes: 4730f4a6c6b2 ("IB/hfi1: Activate the dummy netdev")
Link: https://lore.kernel.org/r/20200602061635.31224-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'sound/oss')
0 files changed, 0 insertions, 0 deletions