]> git.karo-electronics.de Git - linux-beck.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)
commit58d5aaea05e331cb2164bdfeb6927b05c19e061e
tree1448c8b1163b04f53383b2a8f37db7bfd81eed59
parent41fc1e0fe2102435b7e35c36dd2d61669cdf787b
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