Commit 20fc5afc authored by Rashika Kheria's avatar Rashika Kheria Committed by Greg Kroah-Hartman

Staging: rtl8192e: Fix Sparse Warning for Static Declarations in rtllib_crypt_wep.c

This patch fixes the following Sparse warnings in rtllib_crypt_wep.c-

drivers/staging/rtl8192e/rtllib_crypt_wep.c:273:12: warning: symbol 'rtllib_crypto_wep_init' was not declared. Should it be static?
drivers/staging/rtl8192e/rtllib_crypt_wep.c:279:13: warning: symbol 'rtllib_crypto_wep_exit' was not declared. Should it be static?
Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 316de3ca
...@@ -270,13 +270,13 @@ static struct lib80211_crypto_ops rtllib_crypt_wep = { ...@@ -270,13 +270,13 @@ static struct lib80211_crypto_ops rtllib_crypt_wep = {
}; };
int __init rtllib_crypto_wep_init(void) static int __init rtllib_crypto_wep_init(void)
{ {
return lib80211_register_crypto_ops(&rtllib_crypt_wep); return lib80211_register_crypto_ops(&rtllib_crypt_wep);
} }
void __exit rtllib_crypto_wep_exit(void) static void __exit rtllib_crypto_wep_exit(void)
{ {
lib80211_unregister_crypto_ops(&rtllib_crypt_wep); lib80211_unregister_crypto_ops(&rtllib_crypt_wep);
} }
......
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