https://github.com/torvalds/linux
Revision 7f20caff0ef6ce87dbb044389d43bfa1093cd3af authored by Connor Hansen on 05 June 2011, 10:35:09 UTC, committed by Konrad Rzeszutek Wilk on 09 June 2011, 13:05:12 UTC
int i is only needed if CONFIG_ACPI is set
so move it within a new ifdef so kernels without ACPI
don't allocate space for nothing. Fixes warning too.

Signed-off-by: Connor Hansen <cmdkhh@gmail.com>
Signed-off-by: Peter Jones <pjones@redhat.com>
[v2: Fixed warning when CONFIG_ACPI was defined]
Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
1 parent 55922c9
History
Tip revision: 7f20caff0ef6ce87dbb044389d43bfa1093cd3af authored by Connor Hansen on 05 June 2011, 10:35:09 UTC
iscsi_ibft: iscsi_ibft_find unused variable i
Tip revision: 7f20caf
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 966 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.9 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 189.8 KB
Makefile -rw-r--r-- 52.6 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top