USB: mos7840: remove unused code
authorColin Ian King <colin.king@canonical.com>
Mon, 19 Jan 2015 13:32:58 +0000 (13:32 +0000)
committerJohan Hovold <johan@kernel.org>
Mon, 19 Jan 2015 14:58:16 +0000 (15:58 +0100)
commit3e264ffc831e70c4a3ecc8c2eeb5bfbc1c8a30d3
tree9de8c12e3a14e63bae8cf52b6ea13bda4d49026a
parent46dc0fc4befac07e71621d122a72194d2ae61c36
USB: mos7840: remove unused code

There is old, unused code that is #defined out by the use of NOTMOS7840
and NOTMCS7840 - these are 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 it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/mos7840.c