staging: rtl8192e: rtllib_crypt_wep: multiple blank lines removal
Removal of multiple unnecessary blank lines in accordance with the Linux kernel coding-style regulations. Said issues ware detected on this file by the checkpatch script. Signed-off-by: Aaron Lawrence <t4rmin@zohomail.com> Link: https://lore.kernel.org/r/20221025104402.xvbfobi7sdnwlqs2@plymouth Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6e006508f6
commit
5f803b22bd
@ -27,7 +27,6 @@ struct prism2_wep_data {
|
||||
struct arc4_ctx tx_ctx_arc4;
|
||||
};
|
||||
|
||||
|
||||
static void *prism2_wep_init(int keyidx)
|
||||
{
|
||||
struct prism2_wep_data *priv;
|
||||
@ -46,7 +45,6 @@ static void *prism2_wep_init(int keyidx)
|
||||
return priv;
|
||||
}
|
||||
|
||||
|
||||
static void prism2_wep_deinit(void *priv)
|
||||
{
|
||||
kfree_sensitive(priv);
|
||||
@ -120,7 +118,6 @@ static int prism2_wep_encrypt(struct sk_buff *skb, int hdr_len, void *priv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/* Perform WEP decryption on given struct buffer. Buffer includes whole WEP
|
||||
* part of the frame: IV (4 bytes), encrypted payload (including SNAP header),
|
||||
* ICV (4 bytes). len includes both IV and ICV.
|
||||
@ -180,7 +177,6 @@ static int prism2_wep_decrypt(struct sk_buff *skb, int hdr_len, void *priv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static int prism2_wep_set_key(void *key, int len, u8 *seq, void *priv)
|
||||
{
|
||||
struct prism2_wep_data *wep = priv;
|
||||
@ -194,7 +190,6 @@ static int prism2_wep_set_key(void *key, int len, u8 *seq, void *priv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static int prism2_wep_get_key(void *key, int len, u8 *seq, void *priv)
|
||||
{
|
||||
struct prism2_wep_data *wep = priv;
|
||||
@ -207,7 +202,6 @@ static int prism2_wep_get_key(void *key, int len, u8 *seq, void *priv)
|
||||
return wep->key_len;
|
||||
}
|
||||
|
||||
|
||||
static void prism2_wep_print_stats(struct seq_file *m, void *priv)
|
||||
{
|
||||
struct prism2_wep_data *wep = priv;
|
||||
@ -231,13 +225,11 @@ static struct lib80211_crypto_ops rtllib_crypt_wep = {
|
||||
.owner = THIS_MODULE,
|
||||
};
|
||||
|
||||
|
||||
static int __init rtllib_crypto_wep_init(void)
|
||||
{
|
||||
return lib80211_register_crypto_ops(&rtllib_crypt_wep);
|
||||
}
|
||||
|
||||
|
||||
static void __exit rtllib_crypto_wep_exit(void)
|
||||
{
|
||||
lib80211_unregister_crypto_ops(&rtllib_crypt_wep);
|
||||
|
Loading…
Reference in New Issue
Block a user