summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2016-08-10 02:22:36 +0300
committerDavid S. Miller <davem@davemloft.net>2016-08-10 17:27:39 -0700
commit82b52104a31a96689fe1931180c66dd699ad5fc1 (patch)
tree939465b260aac6a378cfe603c97979bd5bde78e5 /net/switchdev/switchdev.c
parentef4183a1d75b15c3bbd6e7f2b14fc5480d740bff (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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions