Commit b8a7b474 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Greg Kroah-Hartman

Staging: vt6655: Remove unused function vnt_key_init_table

The function vnt_key_init_table is not used anywhere in the kernel.
Therefore, remove the function definition and prototype.
Grepped to find occurences.
Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c371ffa7
...@@ -31,16 +31,6 @@ ...@@ -31,16 +31,6 @@
#include "key.h" #include "key.h"
#include "mac.h" #include "mac.h"
int vnt_key_init_table(struct vnt_private *priv)
{
u32 i;
for (i = 0; i < MAX_KEY_TABLE; i++)
MACvDisableKeyEntry(priv, i);
return 0;
}
static int vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, static int vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr,
struct ieee80211_key_conf *key, u32 key_type, u32 mode, struct ieee80211_key_conf *key, u32 key_type, u32 mode,
bool onfly_latch) bool onfly_latch)
......
...@@ -61,8 +61,6 @@ ...@@ -61,8 +61,6 @@
struct vnt_private; struct vnt_private;
int vnt_key_init_table(struct vnt_private *);
int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta, int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
struct ieee80211_vif *vif, struct ieee80211_key_conf *key); struct ieee80211_vif *vif, struct ieee80211_key_conf *key);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment