summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/at91-sama5d3_ksz9477_evb.dts
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-06-13 23:53:50 +0300
committerJakub Kicinski <kuba@kernel.org>2022-06-15 05:16:36 +0300
commitd7dd6eccfbc95ac47a12396f84e7e1b361db654b (patch)
tree44aa7475f0630d70e86ad7324e5040c6d960668d /arch/arm/boot/dts/at91-sama5d3_ksz9477_evb.dts
parent4b7a632ac4e7101ceefee8484d5c2ca505d347b3 (diff)
downloadlinux-d7dd6eccfbc95ac47a12396f84e7e1b361db654b.tar.xz
net: bgmac: Fix an erroneous kfree() in bgmac_remove()
'bgmac' is part of a managed resource allocated with bgmac_alloc(). It should not be freed explicitly. Remove the erroneous kfree() from the .remove() function. Fixes: 34a5102c3235 ("net: bgmac: allocate struct bgmac just once & don't copy it") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/a026153108dd21239036a032b95c25b5cece253b.1655153616.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/at91-sama5d3_ksz9477_evb.dts')
0 files changed, 0 insertions, 0 deletions