Skip to content
Commit 7f20caff authored by Connor Hansen's avatar Connor Hansen Committed by Konrad Rzeszutek Wilk
Browse files

iscsi_ibft: iscsi_ibft_find unused variable i



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: default avatarConnor Hansen <cmdkhh@gmail.com>
Signed-off-by: default avatarPeter Jones <pjones@redhat.com>
[v2: Fixed warning when CONFIG_ACPI was defined]
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad@kernel.org>
parent 55922c9d
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