From: David S. Miller Date: Mon, 3 Nov 2008 08:04:24 +0000 (-0800) Subject: SMC91x: Fix compilation on some platforms. X-Git-Tag: v2.6.28-rc4~86^2~10 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55c8eb6c8eaa5009eed1557b296da5d4ea9c369a;p=pandora-kernel.git SMC91x: Fix compilation on some platforms. This reverts 51ac3beffd4afaea4350526cf01fe74aaff25eff ('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: David S. Miller --- Reading git-diff-tree failed