diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2016-09-13 00:38:19 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-13 15:01:29 +0200 |
commit | b8a7b474672321c7f0550620b32cd676501c3506 (patch) | |
tree | c919795981cab6561cda0336b15dbc1612fa50c3 /drivers/staging/vt6655 | |
parent | c371ffa79c4ca29b8cd7da4d30157179162130c8 (diff) | |
download | linux-stable-b8a7b474672321c7f0550620b32cd676501c3506.tar.gz linux-stable-b8a7b474672321c7f0550620b32cd676501c3506.tar.bz2 linux-stable-b8a7b474672321c7f0550620b32cd676501c3506.zip |
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: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r-- | drivers/staging/vt6655/key.c | 10 | ||||
-rw-r--r-- | drivers/staging/vt6655/key.h | 2 |
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/vt6655/key.c b/drivers/staging/vt6655/key.c index ffcaf25fdd8b..e161d5d9aebb 100644 --- a/drivers/staging/vt6655/key.c +++ b/drivers/staging/vt6655/key.c @@ -31,16 +31,6 @@ #include "key.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, struct ieee80211_key_conf *key, u32 key_type, u32 mode, bool onfly_latch) diff --git a/drivers/staging/vt6655/key.h b/drivers/staging/vt6655/key.h index 261f8181d410..d72719741a56 100644 --- a/drivers/staging/vt6655/key.h +++ b/drivers/staging/vt6655/key.h @@ -61,8 +61,6 @@ struct vnt_private; -int vnt_key_init_table(struct vnt_private *); - int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta, struct ieee80211_vif *vif, struct ieee80211_key_conf *key); |