[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z-6Nwp5RUdgYt55B@smile.fi.intel.com>
Date: Thu, 3 Apr 2025 16:31:46 +0300
From: Andy Shevchenko <andy@...nel.org>
To: Abraham Samuel Adekunle <abrahamadekunle50@...il.com>
Cc: outreachy@...ts.linux.dev, julia.lawall@...ia.fr,
gregkh@...uxfoundation.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org, hdegoede@...hat.com,
mchehab@...nel.org, sakari.ailus@...ux.intel.com
Subject: Re: [PATCH v2 1/3] staging: media: Remove duplicate NULL tests on a
value in pci
On Thu, Apr 03, 2025 at 02:26:41PM +0100, Abraham Samuel Adekunle wrote:
> When a value has been tested for NULL in an expression, a
> second NULL test on the same value in another expression
> is unnecessary when the value has not been assigned NULL.
>
> Remove unnecessary duplicate NULL tests on the same value that
> has previously been NULL tested.
>
> Found by Coccinelle
Missing period. And Subject should be as simple as
"media: atomisp: Remove ..."
...
Please, send this patch separately from the others.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists