staging: vt6655: Introduce `idx` variable
authorKarolina Drobnik <karolinadrobnik@gmail.com>
Mon, 15 Nov 2021 10:55:43 +0000 (10:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Nov 2021 12:55:32 +0000 (13:55 +0100)
commitcfbfa0d3c35f7a8a77d57711dc13c30f0caf771a
treef07706dc1991f77eaef57137da68c0e8071c4d0f
parent6a143ec198a6434fc67b35299d4aad087bae4966
staging: vt6655: Introduce `idx` variable

Add a local variable to store `MISCFIFO_SYNDATA_IDX` offset.
This change helps in shortening the lines in `rf.c` that
are deemed too long by checkpatch.pl.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Karolina Drobnik <karolinadrobnik@gmail.com>
Link: https://lore.kernel.org/r/596ae9bc980379860b5b1785b3ecc88e18121103.1636729147.git.karolinadrobnik@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/rf.c