[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180721074611.GC6484@kroah.com>
Date: Sat, 21 Jul 2018 09:46:11 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: rkir@...gle.com
Cc: linux-kernel@...r.kernel.org, tkjos@...gle.com
Subject: Re: [PATCH 3/3] tty: Mark goldfish_tty_line_count as const
On Tue, Jul 17, 2018 at 05:14:55PM -0700, rkir@...gle.com wrote:
> From: Roman Kiryanov <rkir@...gle.com>
>
> The driver never mutates this variable - no benefits of
> keeping it mutable.
Then why not just make it a #define? No need to waste the memory of a
variable, right?
thanks,
greg k-h
Powered by blists - more mailing lists