[Spice-devel] [PATCHv2 21/22] cosmetic: return early if channel is not usb

Marc-André Lureau marcandre.lureau at gmail.com
Thu Nov 27 08:10:47 PST 2014


On Thu, Nov 27, 2014 at 4:35 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> replace
>
> if (SPICE_IS_USBREDIR_CHANNEL(channel)) {
>     /* code */
> }
>
> with
>
> if (!SPICE_IS_USBREDIR_CHANNEL(channel)) {
>     return;


ok

-- 
Marc-André Lureau


More information about the Spice-devel mailing list