On 2019-01-22 16:21:07 [+0100], Greg Kroah-Hartman 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. > > And as the return value does not matter at all, no need to save the > dentry in struct backing_dev_info, so delete it. > > Cc: Andrew Morton <[email protected]> > Cc: Anders Roxell <[email protected]> > Cc: Arnd Bergmann <[email protected]> > Cc: Sebastian Andrzej Siewior <[email protected]> > Cc: Michal Hocko <[email protected]> > Cc: [email protected] > Signed-off-by: Greg Kroah-Hartman <[email protected]>
with "[PATCH 2/2] debugfs: return error values, not NULL" Reviewed-by: Sebastian Andrzej Siewior <[email protected]> Sebastian

