mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
staging: rtl8192e: remove extra blank lines in rtllib_crypt_ccmp.c
Remove extra blank lines as suggested by the Linux kernel coding-style. These issues were reported by checkpatch. "CHECK: Please don't use multiple blank lines" Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/283265f6a5ff938f8425e14af86cee9e2da36318.1680445545.git.kamrankhadijadj@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3642e50acc
commit
f395d3f9d2
|
|
@ -74,7 +74,6 @@ static void *rtllib_ccmp_init(int key_idx)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static void rtllib_ccmp_deinit(void *priv)
|
||||
{
|
||||
struct rtllib_ccmp_data *_priv = priv;
|
||||
|
|
@ -84,7 +83,6 @@ static void rtllib_ccmp_deinit(void *priv)
|
|||
kfree(priv);
|
||||
}
|
||||
|
||||
|
||||
static int ccmp_init_iv_and_aad(struct rtllib_hdr_4addr *hdr,
|
||||
u8 *pn, u8 *iv, u8 *aad)
|
||||
{
|
||||
|
|
@ -150,8 +148,6 @@ static int ccmp_init_iv_and_aad(struct rtllib_hdr_4addr *hdr,
|
|||
return aad_len;
|
||||
}
|
||||
|
||||
|
||||
|
||||
static int rtllib_ccmp_encrypt(struct sk_buff *skb, int hdr_len, void *priv)
|
||||
{
|
||||
struct rtllib_ccmp_data *key = priv;
|
||||
|
|
@ -220,7 +216,6 @@ static int rtllib_ccmp_encrypt(struct sk_buff *skb, int hdr_len, void *priv)
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static int rtllib_ccmp_decrypt(struct sk_buff *skb, int hdr_len, void *priv)
|
||||
{
|
||||
struct rtllib_ccmp_data *key = priv;
|
||||
|
|
@ -315,7 +310,6 @@ static int rtllib_ccmp_decrypt(struct sk_buff *skb, int hdr_len, void *priv)
|
|||
return keyidx;
|
||||
}
|
||||
|
||||
|
||||
static int rtllib_ccmp_set_key(void *key, int len, u8 *seq, void *priv)
|
||||
{
|
||||
struct rtllib_ccmp_data *data = priv;
|
||||
|
|
@ -349,7 +343,6 @@ static int rtllib_ccmp_set_key(void *key, int len, u8 *seq, void *priv)
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static int rtllib_ccmp_get_key(void *key, int len, u8 *seq, void *priv)
|
||||
{
|
||||
struct rtllib_ccmp_data *data = priv;
|
||||
|
|
@ -373,7 +366,6 @@ static int rtllib_ccmp_get_key(void *key, int len, u8 *seq, void *priv)
|
|||
return CCMP_TK_LEN;
|
||||
}
|
||||
|
||||
|
||||
static void rtllib_ccmp_print_stats(struct seq_file *m, void *priv)
|
||||
{
|
||||
struct rtllib_ccmp_data *ccmp = priv;
|
||||
|
|
@ -403,13 +395,11 @@ static struct lib80211_crypto_ops rtllib_crypt_ccmp = {
|
|||
.owner = THIS_MODULE,
|
||||
};
|
||||
|
||||
|
||||
static int __init rtllib_crypto_ccmp_init(void)
|
||||
{
|
||||
return lib80211_register_crypto_ops(&rtllib_crypt_ccmp);
|
||||
}
|
||||
|
||||
|
||||
static void __exit rtllib_crypto_ccmp_exit(void)
|
||||
{
|
||||
lib80211_unregister_crypto_ops(&rtllib_crypt_ccmp);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user