[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150119150014.GS30960@localhost>
Date: Mon, 19 Jan 2015 16:00:14 +0100
From: Johan Hovold <johan@...nel.org>
To: Colin King <colin.king@...onical.com>
Cc: Johan Hovold <johan@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][V2] drivers/usb/serial/mos7840.c: remove unused code
On Mon, Jan 19, 2015 at 01:32:58PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> 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@...onical.com>
Thanks for the update. Applied for next now.
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists