net: ethernet: broadcom: Remove null check before kfree
authorHimanshu Jha <himanshujha199640@gmail.com>
Sat, 26 Aug 2017 20:17:47 +0000 (01:47 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 22:53:23 +0000 (15:53 -0700)
commit0df49584ed6f0e99f3e16d6b10acef32fe21ce0d
tree6ebe12fe6872f517a4affde782793b2be654f9d1
parentf9ab7425b312f8a41339389e83b238c3242e8429
net: ethernet: broadcom: Remove null check before kfree

Kfree on NULL pointer is a no-op and therefore checking is redundant.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/sb1250-mac.c