mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
Staging: rtl8192e: Remove parameter bIsAmsdu from rtllib_classify()
Remove argument, bIsAmsdu from rtllib_classify() as it is never used. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/20240612032230.9738-22-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
019a5b2a17
commit
4219b10cfd
|
|
@ -228,7 +228,7 @@ static struct rtllib_txb *rtllib_alloc_txb(int nr_frags, int txb_size,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static int rtllib_classify(struct sk_buff *skb, u8 bIsAmsdu)
|
||||
static int rtllib_classify(struct sk_buff *skb)
|
||||
{
|
||||
struct ethhdr *eth;
|
||||
struct iphdr *ip;
|
||||
|
|
@ -607,7 +607,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
|
|||
}
|
||||
}
|
||||
|
||||
skb->priority = rtllib_classify(skb, IsAmsdu);
|
||||
skb->priority = rtllib_classify(skb);
|
||||
crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx];
|
||||
encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && crypt && crypt->ops;
|
||||
if (!encrypt && ieee->ieee802_1x &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user