staging: vchiq_core: Shorten bulk TX/RX pending dump
authorStefan Wahren <wahrenst@gmx.net>
Sun, 29 Oct 2023 12:48:36 +0000 (13:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Nov 2023 13:12:15 +0000 (13:12 +0000)
commit20b68a673a6bd346685f3ae980c457cb6e1794ca
tree5095aa5f945a9275136346a5b7f27e0a4bdd9724
parent9996f0044f344a64377abafec252a753380d3098
staging: vchiq_core: Shorten bulk TX/RX pending dump

The calculation for the bulk TX/RX pending is complex and
reaches 99 chars per line. So move the size determination
below the pending calculation and get the rid of the
ternary operator.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20231029124837.119832-3-wahrenst@gmx.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c