mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 05:26:07 +00:00
staging: gdm724x: emove redundant initialization of variable hci_len
The variable hci_len is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Signed-off-by: Colin Ian King <colin.king@canonical.com> Addresses-Coverity: ("Unused value") Link: https://lore.kernel.org/r/20210609120617.185975-1-colin.king@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5bd9e94a11
commit
3cac092a05
@ -684,7 +684,6 @@ static void gdm_lte_multi_sdu_pkt(struct phy_dev *phy_dev, char *buf, int len)
|
||||
u32 nic_type;
|
||||
int index;
|
||||
|
||||
hci_len = gdm_dev16_to_cpu(endian, multi_sdu->len);
|
||||
num_packet = gdm_dev16_to_cpu(endian, multi_sdu->num_packet);
|
||||
|
||||
for (i = 0; i < num_packet; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user