be2net: define macro for_all_tx_queues_on_eq()
authorSathya Perla <sathya.perla@emulex.com>
Tue, 2 Sep 2014 04:26:56 +0000 (09:56 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 19:46:00 +0000 (12:46 -0700)
commita4906ea0a5fe6dba89d3809f1e0e97b4d55ef4b7
treec49d7c0d87d263a921bc698733d582ddcee384fa
parentc8f64615fb8372844f25199c2aa3c7565e1e9e60
be2net: define macro for_all_tx_queues_on_eq()

Replace the for() loop that traverses all the TX queues on an EQ
with the macro for_all_tx_queues_on_eq(). With this expalnatory
name, the one line comment is not required anymore.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_main.c