diff options
author | David S. Miller <davem@davemloft.net> | 2011-04-12 03:00:00 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-12 22:21:30 +0400 |
commit | d83d282bcbf24ec8ddd4f0eb57f7ad302c431b8a (patch) | |
tree | d70019b7c94d333c84ce3610186c8cff23b635d2 /drivers/net/vxge/vxge-main.c | |
parent | f344c25dbab1a392ef7a7afc8ca061b3b7285423 (diff) | |
download | linux-d83d282bcbf24ec8ddd4f0eb57f7ad302c431b8a.tar.xz |
s2io: Fix warnings due to -Wunused-but-set-variable.
Most of these are cases where we are trying to read back a register
after a write to ensure completion.
Simply pre-fixing the readl() or readq() with "(void)" is sufficient
because these are volatile operations and the compiler cannot eliminate
them just because no real assignment takes place.
The case of free_rxd_blk()'s assignments to "struct buffAdd *ba" is a
real spurious assignment as this variable is completely otherwise
unused.
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/net/vxge/vxge-main.c')
0 files changed, 0 insertions, 0 deletions