diff options
author | 2013-11-17 14:00:20 +0100 | |
---|---|---|
committer | 2013-11-20 18:50:48 -0500 | |
commit | 33f9359abb9f6ded3e7b6dc98b1468c83404af49 (patch) | |
tree | 44a4f50491278c06965e4f26b2731aba4d31e949 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dell-laptop: Only get status from BIOS once when updating (diff) | |
download | linux-dev-33f9359abb9f6ded3e7b6dc98b1468c83404af49.tar.xz linux-dev-33f9359abb9f6ded3e7b6dc98b1468c83404af49.zip |
dell-laptop: Don't set sw_state from the query callback
The query callback should only update the hw_state, see the comment in
net/rfkill/core.c in rfkill_set_block, which is its only caller.
rfkill_set_block will modify the sw_state directly after calling query so
calling set_sw_state is an expensive NOP.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions