Re: [PATCH v4] checkpatch: debugfs_remove() can take NULL

Constantine Shulyupin
2012-11-20T14:50:29Z

>> On Tue, 2012-11-20 at 14:29 +0000, Andy Whitcroft wrote:
>> Perhaps just
>> WARN("NEEDLESS_IF",
>
> I would cirtainly be happy with that, I was trying to avoid changing the
> capacity for the existing NEEDLESS_KFREE. If compatibility there isn't
> an issue then that makes life even simpler.
>
> -apw

Right.