summaryrefslogtreecommitdiff
path: root/net/802
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-07 03:22:08 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-08 01:41:47 +0400
commit3e3327837c180781960188563b4e4d5c004c2b29 (patch)
tree04649fa00e68597285ee43fccbfe9af996944e01 /net/802
parentf501b6ec290f59b9c444bc061acf0e422347fb55 (diff)
downloadlinux-3e3327837c180781960188563b4e4d5c004c2b29.tar.xz
ACPI: Use list_for_each_entry() in acpi_unbind_one()
Since acpi_unbind_one() walks physical_node_list under the ACPI device object's physical_node_lock mutex and the walk may be terminated as soon as the matching entry has been found, it is not necessary to use list_for_each_safe() for that walk, so use list_for_each_entry() instead and make the code slightly more straightforward. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Toshi Kani <toshi.kani@hp.com> Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions