commit | e14549a50a6c5e3320bb941440b1c3ae4812ea69 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Sun Apr 01 00:23:51 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 01 14:09:53 2018 -0400 |
tree | 067f91f3dcb5cb4c664304af76c201183cf88df8 | |
parent | 6e80e55bd37a90b412f168b1667ffa7d2debd46b [diff] |
sh_eth: kill useless check in __sh_eth_get_regs() Iff TSU registers exist on a given [G]Ether controller, they always include the CAM entry table registers (TSU_ADR{H|L}<n>), thus the check for invalid TSU_ADRH0 offset in __sh_eth_get_regs() is useless... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>