[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y8532S313qKhIme8@kadam>
Date: Mon, 23 Jan 2023 15:04:41 +0300
From: Dan Carpenter <error27@...il.com>
To: Brent Pappas <bpappas@...pasbrent.com>
Cc: andy.shevchenko@...il.com, andy@...nel.org, colin.i.king@...il.com,
gregkh@...uxfoundation.org, hdegoede@...hat.com,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
linux-staging@...ts.linux.dev, mchehab@...nel.org,
sakari.ailus@...ux.intel.com
Subject: Re: [PATCH v3] media: atomisp: pci: sh_css: Inline single invocation
of macro STATS_ENABLED()
On Fri, Jan 20, 2023 at 12:14:08PM -0500, Brent Pappas wrote:
> Inline the single invocation of the macro STATS_ENABLED().
> The macro abstraction is not necessary because the logic behind it is only
> used once.
>
> Signed-off-by: Brent Pappas <bpappas@...pasbrent.com>
> ---
> Changelog:
> V1 -> V2: Inline macro instead of replacing it with a function.
>
> V2 -> V3: Remove unnecessary check that stage is non-null.
>
Thanks!
Reviewed-by: Dan Carpenter <error27@...il.com>
regards,
dan carpenter
Powered by blists - more mailing lists