diff options
author | Anders Roxell <[email protected]> | 2019-06-04 18:57:39 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-06-05 16:36:49 +0200 |
commit | 64ae0e71c60dc4bd3a59ae709b807f96f68df495 (patch) | |
tree | 67508cdfda3fca90f3b889df83a94e3dddae7af6 /drivers/base/firmware_loader/main.c | |
parent | c9c2c27d7ceca8c2856c5008f2002bddb384f518 (diff) |
mm/zsmalloc.c: remove unused variable
The variable 'entry' is no longer used and the compiler rightly complains
that it should be removed.
../mm/zsmalloc.c: In function `zs_pool_stat_create':
../mm/zsmalloc.c:648:17: warning: unused variable `entry' [-Wunused-variable]
struct dentry *entry;
^~~~~
Rework to remove the unused variable.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 4268509a36a7 ("zsmalloc: no need to check return value of debugfs_create functions")
Signed-off-by: Anders Roxell <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/main.c')
0 files changed, 0 insertions, 0 deletions