Skip to content
Commit 55c8eb6c authored by David S. Miller's avatar David S. Miller
Browse files

SMC91x: Fix compilation on some platforms.



This reverts 51ac3bef ('SMC91x: delete
unused local variable "lp"') and adds __maybe_unused markers to these
(potentially) unused variables.

The issue is that in some configurations SMC_IO_SHIFT evaluates
to '(lp->io_shift)', but in some others it's plain '0'.

Based upon a build failure report from Manuel Lauss.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0856f939
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