]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: b53: remove redundant if
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sun, 31 Jul 2016 11:42:33 +0000 (13:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Aug 2016 20:32:53 +0000 (13:32 -0700)
commitc61434aaff5d25385e6d5692a091d23e55f5f6c1
tree1448c8b1163b04f53383b2a8f37db7bfd81eed59
parent3a3e0215b85ae511e89a4d7d346abbb1f66745aa
dsa: b53: remove redundant if

For pdata == null the code leaves with an error.
There is no need to check the condition again.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_mmap.c