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

2019-01-23 Thread Konrad Rzeszutek Wilk
On Tue, Jan 22, 2019 at 04:21:11PM +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. > > Cc: Konrad Rzeszutek Wilk OK.

[PATCH] mm: cleancache: no need to check return value of debugfs_create functions

2019-01-22 Thread Greg Kroah-Hartman
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. Cc: Konrad Rzeszutek Wilk Cc: linux...@kvack.org Signed-off-by: Greg Kroah-Hartman --- mm/cleancache.c | 3 +--