OSDN Git Service

staging: vt6655: remove some redundant variables
authorColin Ian King <colin.king@canonical.com>
Wed, 11 Jul 2018 11:47:28 +0000 (12:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jul 2018 12:47:08 +0000 (14:47 +0200)
commitd6ff1b52b569dc12ba5be027bc6c22f4ac0f4ce1
tree7c602fdc355d0f7a4a4c77c9a7bf710d7b9c1962
parente63a46fa5ba76097233edb7643777069d7cc4d72
staging: vt6655: remove some redundant variables

Variables rx_sts, sq, frame and is_pspoll are being assigned but are
never used hence they are redundant and can be removed.

Cleans up clang warnings:
warning: variable 'sq' set but not used [-Wunused-but-set-variable]
warning: variable 'rx_sts' set but not used [-Wunused-but-set-variable]
warning: variable 'frame' set but not used [-Wunused-but-set-variable]
warning: variable 'is_pspoll' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/dpc.c
drivers/staging/vt6656/dpc.c
drivers/staging/vt6656/rxtx.c