mac80211: use ERR_CAST()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Aug 2013 17:03:36 +0000 (19:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 26 Sep 2013 11:21:38 +0000 (13:21 +0200)
commitc5dc164df6187e845f1a7c0542f5106c74ff5a92
tree6f2ce5afa0ed7b288004925be21b3d053748a2a2
parentc7c71066c27f2bafb2ce3b10c407c0285f56acfa
mac80211: use ERR_CAST()

No need for ERR_PTR(PTR_ERR()) since there's ERR_CAST, use it.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/key.c