mac80211: make ieee80211_wep_init() return void
authorLuca Coelho <luciano.coelho@intel.com>
Fri, 31 Jan 2020 11:12:47 +0000 (13:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 7 Feb 2020 11:40:34 +0000 (12:40 +0100)
commit4a65cc2437ce4a643c24b357d849e3ff773efed1
tree748c71d80432c2f0ee8875a6bb576b3ce7e7d257
parent07b83d2ecd2f812c32d1f852f853375f50e1ccf2
mac80211: make ieee80211_wep_init() return void

This function always returns 0, so there's no point in returning int.
Make it void and remove the impossible error-path when calling it.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/20200131111300.891737-11-luca@coelho.fi
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c
net/mac80211/wep.c
net/mac80211/wep.h