]> granicus.if.org Git - zfs/commit
Fix unused variable warning
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 5 May 2017 17:17:32 +0000 (10:17 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 5 May 2017 17:23:58 +0000 (10:23 -0700)
commit1eab430af7828cc1f85a7c26ef37d5da88884977
tree6a74076514e4e26255d73f820f178589558927df
parentc17486b2178fc545c50d48effd4be47d33208933
Fix unused variable warning

Remove the lz4_ac local variable from dmu_write_policy() to resolve
the following unused variable warning on non-debug builds.

dmu.c: In function ‘dmu_write_policy’:
dmu.c:1892:12: warning: unused variable ‘lz4_ac’ [-Wunused-variable]
  boolean_t lz4_ac = spa_feature_is_active(os->os_spa,

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/dmu.c