summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-menf21bmc.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-22 15:32:04 +0300
committerDavid S. Miller <davem@davemloft.net>2016-10-27 00:21:59 +0300
commit1aaa87aff688bbb47e9ab36c638e1bb876810a39 (patch)
tree309af29b7bd37b593a43b49bbb6a83dd5daa1f44 /drivers/leds/leds-menf21bmc.c
parent701470babace4c4bbcc8463a5609790f91f85bdb (diff)
downloadlinux-1aaa87aff688bbb47e9ab36c638e1bb876810a39.tar.xz
net: netcp: drop kfree for memory allocated with devm_kzalloc
It's not necessary to free memory allocated with devm_kzalloc in the remove path and using kfree leads to a double free. Fixes: 84640e27f230 ("net: netcp: Add Keystone NetCP core ethernet driver") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/leds/leds-menf21bmc.c')
0 files changed, 0 insertions, 0 deletions