From: Jean Delvare Date: Thu, 21 Oct 2010 09:50:47 +0000 (+0200) Subject: panasonic-laptop: Simplify calls to acpi_pcc_retrieve_biosdata X-Git-Tag: v2.6.37-rc1~128^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e253fb944d3335a29bc392eafbe14c43832e806a;p=pandora-kernel.git panasonic-laptop: Simplify calls to acpi_pcc_retrieve_biosdata Function acpi_pcc_retrieve_biosdata is always called with parameters (pcc, pcc->sinf), so we can drop the second parameter. It was dangerous to pass the sinf array separately anyway, as its length is checked as pcc->num_sifr, which pretty much assumed it was pcc->sinf (or at least had the same size.) This change makes the code slightly more compact and thus marginally faster. Signed-off-by: Jean Delvare Cc: Harald Welte Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed