On Sun, Nov 03, 2013 at 06:11:23PM +0100, Johan Hovold wrote: > >> + switch (C_CSIZE(tty)) { > >> + case CS5: > >> + buf[6] = 5; > >> + break; > >> + case CS6: > >> + buf[6] = 6; > >> + break; > >> + case CS7: > >> + buf[6] = 7; > >> + break; > >> + default: > > > > You can drop the default-case as CSIZE is a two-bit mask. Nevermind. Just leave it there to keep gcc happy. Thanks, Johan > + case CS8: > + buf[6] = 8; > } -- 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