]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: gadget: f_tcm: Refactor goto check_condition
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Wed, 11 Dec 2024 00:34:20 +0000 (00:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Dec 2024 07:56:08 +0000 (08:56 +0100)
commitd7123c77dc6072b028291355e4c4be0ad8046066
tree3e0a8e716f4d045c6d3a4beddfcc2dd3179631db
parentde92fb3fc2bd20ac9ad267af4dfb075b8e792fbc
usb: gadget: f_tcm: Refactor goto check_condition

Move the command initialization before the check_condition to after the
goto statement for a cleaner look. No functional change here.

Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/8442364f51f2788d2a191997581a8eda7a143272.1733876548.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/f_tcm.c