summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorAnders Roxell2019-06-05 03:57:39 +0200
committerGreg Kroah-Hartman2019-06-05 16:36:49 +0200
commit64ae0e71c60dc4bd3a59ae709b807f96f68df495 (patch)
tree67508cdfda3fca90f3b889df83a94e3dddae7af6 /drivers/base
parentdebugfs: make debugfs_create_u32_array() return void (diff)
downloadkernel-qcow2-linux-64ae0e71c60dc4bd3a59ae709b807f96f68df495.tar.gz
kernel-qcow2-linux-64ae0e71c60dc4bd3a59ae709b807f96f68df495.tar.xz
kernel-qcow2-linux-64ae0e71c60dc4bd3a59ae709b807f96f68df495.zip
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/20190604065826.26064-1-anders.roxell@linaro.org Fixes: 4268509a36a7 ("zsmalloc: no need to check return value of debugfs_create functions") Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Cc: Minchan Kim <minchan@kernel.org> Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions