]> git.baikalelectronics.ru Git - kernel.git/commit
net-sysfs: get_netdev_queue_index() cleanup
authorEric Dumazet <edumazet@google.com>
Thu, 13 Feb 2014 18:07:13 +0000 (10:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Feb 2014 20:46:39 +0000 (15:46 -0500)
commit3911444106e2d113a620a6ec71d652a9e05aed36
tree666eb5e4439e1c28976725c3e711a38488ecc28a
parent1bd79daeea273b51bb219f2334c90c65827956e0
net-sysfs: get_netdev_queue_index() cleanup

Remove one inline keyword, and no need for a loop to find
an index into a table.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c