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)
commited1acc8cd8c22efa919da8d300bab646e01c2dce
tree666eb5e4439e1c28976725c3e711a38488ecc28a
parenta56cddd8dcbd1410074cce0d5c1354fcbe635755
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