aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_cache.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-08-26 09:53:00 -0700
committerBrian Behlendorf <[email protected]>2010-08-31 08:38:43 -0700
commit1fde1e37208c2f56c72c70a06676676f04b65998 (patch)
tree52ad484f84817f66cc9223533a863c6d027ff32a /module/zfs/vdev_cache.c
parentc65aa5b2b9c48375ea1c451f252f0056e16f4e49 (diff)
Fix gcc unused variable warnings
Gcc -Wall warn: 'unused variable' Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/vdev_cache.c')
-rw-r--r--module/zfs/vdev_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/vdev_cache.c b/module/zfs/vdev_cache.c
index 688d54134..a4b34423a 100644
--- a/module/zfs/vdev_cache.c
+++ b/module/zfs/vdev_cache.c
@@ -246,7 +246,7 @@ vdev_cache_read(zio_t *zio)
vdev_cache_t *vc = &zio->io_vd->vdev_cache;
vdev_cache_entry_t *ve, ve_search;
uint64_t cache_offset = P2ALIGN(zio->io_offset, VCBS);
- uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS);
+ ASSERTV(uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS);)
zio_t *fio;
ASSERT(zio->io_type == ZIO_TYPE_READ);