Re: [PATCH 2/3] cdc-wdm: unify error handling in write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2015-03-20 at 16:11 +0100, Bjørn Mork wrote:
> Anyway, the "outnl" is only ever used with rv < 0, and with your
> changes
> all other cases where rv < 0 will jump to some other label.  So I
> don't
> think it makes much sense to keep the "return rv < 0 ? rv : count"
> even
> if you don't want the direct return.  Just move the "outnl" label
> (possibly with a more describing name) down to the "return rv" at the
> end.

Feel free to provide a patch.

	Regards
		Oliver


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux