]> git.karo-electronics.de Git - linux-beck.git/commit
net/dsa/dsa.c: remove unnecessary null test before kfree
authorFabian Frederick <fabf@skynet.be>
Mon, 23 Jun 2014 17:32:47 +0000 (19:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jun 2014 23:15:16 +0000 (16:15 -0700)
commit1f74714f1e34a84fe4ef2a6d9b76c20794fb5dcf
tree4d8d69574c43f8c0a6b4a3e880409c8cbc190690
parentcb8eb77663dda1502ec419962980053cd0092d48
net/dsa/dsa.c: remove unnecessary null test before kfree

Fix checkpatch warning:
WARNING: kfree(NULL) is safe this check is probably not required

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: netdev@vger.kernel.org
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c