cfg80211: add helper for kfree'ing last_request
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Tue, 5 Nov 2013 17:18:08 +0000 (09:18 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:51:16 +0000 (20:51 +0100)
commit5ad6ef5e06a1c9feb934c13b3a5f5303833fef4e
tree1a17643b72324209f8f50c81b9c17a7cb57ba1f0
parent2f1c6c572d7b6cbe2e3c9bbb427769f6c79089bb
cfg80211: add helper for kfree'ing last_request

This is common code, this reduces the chance of making
a mistake of how we free it.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c