Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit faa86645 authored by simran singhal's avatar simran singhal Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192u: Remove useless function



This patch remove useless function ieee80211_ccmp_null.

Signed-off-by: default avatarsimran singhal <singhalsimran0@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 64ae44af
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2256,7 +2256,6 @@ void softmac_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee);

/* ieee80211_crypt_ccmp&tkip&wep.c */
void ieee80211_tkip_null(void);
void ieee80211_ccmp_null(void);

int ieee80211_crypto_init(void);
void ieee80211_crypto_deinit(void);
+0 −6
Original line number Diff line number Diff line
@@ -426,12 +426,6 @@ static char *ieee80211_ccmp_print_stats(char *p, void *priv)
	return p;
}

void ieee80211_ccmp_null(void)
{
	/* printk("============>%s()\n", __func__); */
	return;
}

static struct ieee80211_crypto_ops ieee80211_crypt_ccmp = {
	.name			= "CCMP",
	.init			= ieee80211_ccmp_init,
+0 −1
Original line number Diff line number Diff line
@@ -177,7 +177,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv)

/* These function were added to load crypte module autoly */
	ieee80211_tkip_null();
	ieee80211_ccmp_null();

	return dev;