Re: [PATCH] drivers/usb/serial/mos7840.c: remove unused code

2015-01-19 Thread Johan Hovold
On Tue, Jan 13, 2015 at 05:41:45PM +, Colin King wrote: > From: Colin Ian King > > There is old, unused code that is #defined out by the > use of NOTMOS7840 - this is not defined anywhere. If > NOTMOS7840 is defined then the code will break on null > pointer dereferences on mos7840_port. So

[PATCH] drivers/usb/serial/mos7840.c: remove unused code

2015-01-13 Thread Colin King
From: Colin Ian King There is old, unused code that is #defined out by the use of NOTMOS7840 - this is not defined anywhere. If NOTMOS7840 is defined then the code will break on null pointer dereferences on mos7840_port. So the code is currently unused, and broken anyway, so why not just remove