diff options
author | Joe Perches <joe@perches.com> | 2009-08-24 19:29:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-31 07:34:39 +0200 |
commit | 13d866a9c912d6bc7133f4ef4d536c3a960b06cb (patch) | |
tree | df02e9b726e8f50c0d69006873989a00305ecd2e /README | |
parent | s2io.c: Use const for strings (diff) | |
download | linux-13d866a9c912d6bc7133f4ef4d536c3a960b06cb.tar.xz linux-13d866a9c912d6bc7133f4ef4d536c3a960b06cb.zip |
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 'README')
0 files changed, 0 insertions, 0 deletions