Skip to contentSkip to conversation

USB: serial: Avoid goto in bulk callbacks

DISCUSSION Oliver Neukum 1 participant 1 message Dec 11, 2017 USB

lore
Share & tools
lore
#0 lore raw

Am Montag, den 11.12.2017, 00:11 +0100 schrieb Ladislav Michl:

Quoted 3 lines

Refactor bulk callback functions to make use of goto pointless.

Hi,

you seem to assume that this is a good thing by itself which needs no further justification. I disagree. You duplicated code.

Regards
Oliver
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html