]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: Remove unnecessary device resource free
authorQianqian Xie <xieqianqian@huawei.com>
Tue, 21 Jun 2016 03:56:25 +0000 (11:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2016 08:51:54 +0000 (04:51 -0400)
commit7b7c02699d7bf54d08e830e500e9277f5577b9c9
treea4034ec712320dc417be149efd61cece160e3f50
parentbdc7e61c1142160bea8e5284acd286518a0ae255
net: hns: Remove unnecessary device resource free

The driver uses devm_ioremap_resource, it will unmap the map
automatically, remove the unnecessary the resource free.

Signed-off-by: Qianqian Xie <xieqianqian@huawei.com>
Reported-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c