Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thermal: core: Drop redundant lockdep_assert_held()
Along the lines of commit 24aad19 ("thermal: core: Drop redundant checks from thermal_bind_cdev_to_trip()") notice that thermal_unbind_cdev_from_trip() is only called by thermal_zone_cdev_unbind() under the thermal zone lock, so it need not use lockdep_assert_held() for that lock. No functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/3341369.44csPzL39Z@rjwysocki.net
- Loading branch information