Loading
iwlwifi: use list_first_entry
Instead of open-coding it with a temporary list_head pointer, just use list_first_entry. Reviewed-by:Gregory Greenman <gregory.greenman@intel.com> Signed-off-by:
Johannes Berg <johannes.berg@intel.com>
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Instead of open-coding it with a temporary list_head pointer, just use list_first_entry. Reviewed-by:Gregory Greenman <gregory.greenman@intel.com> Signed-off-by:
Johannes Berg <johannes.berg@intel.com>