diff options
author | 2010-10-21 11:50:47 +0200 | |
---|---|---|
committer | 2010-10-21 10:10:50 -0400 | |
commit | e253fb944d3335a29bc392eafbe14c43832e806a (patch) | |
tree | bdbbd46d4c59b031997c4566a898a3703486cb42 /kernel/sysctl.c | |
parent | panasonic-laptop: Handle errors properly if they happen (diff) | |
download | linux-dev-e253fb944d3335a29bc392eafbe14c43832e806a.tar.xz linux-dev-e253fb944d3335a29bc392eafbe14c43832e806a.zip |
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 <jdelvare@suse.de>
Cc: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions