diff options
| author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-11-15 16:04:40 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2018-01-22 16:08:13 +0100 |
| commit | 02cfe779ccaec421cd4ed53a574c8a6354efa7fe (patch) | |
| tree | 264eb12934ac3774ce6e5092c390766e2426ecbb /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | btrfs: sink get_extent parameter to read_extent_buffer_pages (diff) | |
| download | linux-02cfe779ccaec421cd4ed53a574c8a6354efa7fe.tar.gz linux-02cfe779ccaec421cd4ed53a574c8a6354efa7fe.zip | |
btrfs: ref-verify: Remove unused parameter from walk_up_tree() to kill warning
With gcc-4.1.2:
fs/btrfs/ref-verify.c: In function ‘btrfs_build_ref_tree’:
fs/btrfs/ref-verify.c:1017: warning: ‘root’ is used uninitialized in this function
The variable is indeed passed uninitialized, but it is never used by the
callee. However, not all versions of gcc are smart enough to notice.
Hence remove the unused parameter from walk_up_tree() to silence the
compiler warning.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
