Commit 4277a7a7 authored by Michael Grzeschik's avatar Michael Grzeschik Committed by Neill Kapron
Browse files

UPSTREAM: usb: gadget: uvc: refactor the check for a valid buffer in the pump worker



By toggling the condition check for a valid buffer, the else path
can be completely avoided.

Signed-off-by: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20240214-uvc-gadget-cleanup-v1-2-de6d78780459@pengutronix.de


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 379236348
(cherry picked from commit 5e7ea65d)
Change-Id: I7e8bbe103b5a0273010bf0d9e556654095c8413b
Signed-off-by: default avatarSelvarasu Ganesan <selvarasu.g@samsung.com>
parent 13dd1267
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment