staging: vt6655: upc: Suppress set but not used warning in macro
authorLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 18:10:59 +0000 (19:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:19:25 +0000 (11:19 +0200)
commitb259c9b2380a1a4150cd2bdda90076d1e3fbd386
treec397b0088e706bda14601d96e6d4699955a05222
parent2f61c6649f470b094f32586872e95648410e38f0
staging: vt6655: upc: Suppress set but not used warning in macro

The variable is used in the function using the macro.

Fixes the following W=1 kernel build warning(s):

 drivers/staging/vt6655/upc.h:45:16: warning: variable ‘byData’ set but not used [-Wunused-but-set-variable]

Cc: Forest Bond <forest@alittletooquiet.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-staging@lists.linux.dev
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210414181129.1628598-28-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/upc.h