commit | 82b52104a31a96689fe1931180c66dd699ad5fc1 | [log] [tgz] |
---|---|---|
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | Wed Aug 10 02:22:36 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 10 17:27:39 2016 -0700 |
tree | 939465b260aac6a378cfe603c97979bd5bde78e5 | |
parent | ef4183a1d75b15c3bbd6e7f2b14fc5480d740bff [diff] |
net: ethernet: ti: cpsw: don't check slave num in runtime No need to check const slave num in runtime for every packet, and ndev for slaves w/o ndev is anyway NULL. So remove redundant check and macro. Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>