staging: gdm724x: emove redundant initialization of variable hci_len
authorColin Ian King <colin.king@canonical.com>
Wed, 9 Jun 2021 12:06:17 +0000 (13:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jun 2021 12:30:17 +0000 (14:30 +0200)
commit3cac092a05d80ef2eb63e788329bd72b6e764069
tree617db35c2d5d50749e7ff7cf1b5e374aad0a6416
parent5bd9e94a11ab76b656c897609b7e0e2bf1e87d09
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>
drivers/staging/gdm724x/gdm_lte.c