iwlwifi: use list_first_entry
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Nov 2012 08:31:25 +0000 (09:31 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 5 Nov 2012 15:12:24 +0000 (16:12 +0100)
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>

No differences found