aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c
diff options
context:
space:
mode:
authorDeepak R Varma <drv@mailo.com>2022-10-31 23:25:39 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-02 08:26:41 +0100
commit8b550eb637b483866f8d4662fffc9518ad9e7eca (patch)
treebd80630bc1105af91da01111225e555c285e949d /drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c
parentstaging: rtl8192e: Remove line breaks to match coding style (diff)
downloadlinux-stable-8b550eb637b483866f8d4662fffc9518ad9e7eca.tar.xz
linux-stable-8b550eb637b483866f8d4662fffc9518ad9e7eca.zip
staging: rtl8192u: remove unnecessary function implementation
This driver is a single standalone driver and does not have any loading dependencies on another associated drivers. The build results in one single .ko object. The current implementation of the function ieee80211_tkip_null simply returns back to the caller without any useful instruction executions. It does not lead to auto-loading of any other associated modules as the initial design implementation appears to be. Hence the call to ieee80211_tkip_null() and its implementation is unnecessary and should be removed. Signed-off-by: Deepak R Varma <drv@mailo.com> Link: https://lore.kernel.org/r/6f5a4313fc21365bf733c25385aef79554ffb253.1667237959.git.drv@mailo.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c
index 7b120b8cb982..9bfd24ad46b6 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c
@@ -716,9 +716,3 @@ void ieee80211_crypto_tkip_exit(void)
{
ieee80211_unregister_crypto_ops(&ieee80211_crypt_tkip);
}
-
-void ieee80211_tkip_null(void)
-{
-// printk("============>%s()\n", __func__);
- return;
-}