]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dsa: factor freeing of dsa_platform_data
authorFlorian Fainelli <florian@openwrt.org>
Mon, 25 Mar 2013 05:03:39 +0000 (05:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Mar 2013 16:23:41 +0000 (12:23 -0400)
commit21168245031062212c0b805d0bd466ee6dd4a16f
treec962fb3124dbb8fb4f69f5a0a71e9f39d80e02cb
parent4c64f1f70cf3e7860bae12d62a31c137a6a4f4a7
dsa: factor freeing of dsa_platform_data

This patch factors the freeing of the struct dsa_platform_data
manipulated by the driver identically in two places to a single
function.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c