Skip to content
Commit 18d777a5 authored by David S. Miller's avatar David S. Miller
Browse files

chelsio: Fix build warning.



GCC warns that:

drivers/net/chelsio/sge.c:463:11: warning: operation on 's->port' may be undefined

Better to eliminate the side effects in the calculation and
express what was intended here.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6f59d660
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment