diff options
author | Joe Perches <joe@perches.com> | 2009-08-24 17:29:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-30 22:34:39 -0700 |
commit | 13d866a9c912d6bc7133f4ef4d536c3a960b06cb (patch) | |
tree | df02e9b726e8f50c0d69006873989a00305ecd2e /drivers/vlynq | |
parent | 6fce365df8c4af573ea77e744fe310e034931d42 (diff) |
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>
Diffstat (limited to 'drivers/vlynq')
0 files changed, 0 insertions, 0 deletions