diff options
author | Cédric Le Goater <clg@kaod.org> | 2020-09-14 23:10:01 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-09-18 20:05:24 +1000 |
commit | 7b2aab5f22f0f7cc9e2f8672c9e65e2e88d30102 (patch) | |
tree | 4c2dc0122f0d8c86a1e163f386552f55c7936ba2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8ec5cb12cd957e59b0470b75d26c901aaf645bc3 (diff) |
powerpc/sysfs: Remove unused 'err' variable in sysfs_create_dscr_default()
This fixes a compile error with W=1.
arch/powerpc/kernel/sysfs.c: In function ‘sysfs_create_dscr_default’:
arch/powerpc/kernel/sysfs.c:228:7: error: variable ‘err’ set but not used [-Werror=unused-but-set-variable]
int err = 0;
^~~
cc1: all warnings being treated as errors
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200914211007.2285999-2-clg@kaod.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions