Re: [PATCH] gfs: no need to check return value of debugfs_create functions

From: Andreas Gruenbacher
Date: Wed Jan 23 2019 - 06:35:38 EST


Greg,

On Tue, 22 Jan 2019 at 16:24, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> When calling debugfs functions, there is no need to ever check the
> return value. The function can work or not, but the code logic should
> never do something different based on this.
>
> There is no need to save the dentries for the debugfs files, so drop
> those variables to save a bit of space and make the code simpler.

looking good, pushed to for-next.

Thanks,
Andreas