Thread (3 messages) 3 messages, 3 authors, 2021-01-26

Re: [PATCH] btrfs: Remove unused variable

From: Johannes Thumshirn <hidden>
Date: 2021-01-26 19:32:01

On 24/01/2021 17:05, Nikolay Borisov wrote:
This fixes fs/btrfs/zoned.c:491:6: warning: variable ‘zone_size’ set but not used [-Wunused-but-set-variable]
  491 |  u64 zone_size;

Which got introduced in 12659251ca5d ("btrfs: implement log-structured superblock for ZONED mode")

Signed-off-by: Nikolay Borisov <redacted>
Even with the zoned complete zoned patchset (for-v14) applied 
the compiler is correct about this issue, ergo this patch fixes it.

Reviewed-by: Johannes Thumshirn <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help