s2io.c: Shorten code line length by using intermediate pointers
authorJoe Perches <joe@perches.com>
Mon, 24 Aug 2009 17:29:41 +0000 (17:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2009 05:34:39 +0000 (22:34 -0700)
commit13d866a9c912d6bc7133f4ef4d536c3a960b06cb
treedf02e9b726e8f50c0d69006873989a00305ecd2e
parent6fce365df8c4af573ea77e744fe310e034931d42
s2io.c: Shorten code line length by using intermediate pointers

Repeated variable use and line wrapping is hard to read.
Use temp variables instead of direct references.

struct fifo_info *fifo = &mac_control->fifos[i];
struct ring_info *ring = &mac_control->rings[i];
struct tx_fifo_config *tx_cfg = &config->tx_cfg[i];
struct rx_ring_config *rx_cfg = &config->rx_cfg[i];

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/s2io.c