diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-12-18 17:26:03 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-12-18 17:37:22 -0800 |
commit | 17a7e7e0f03227d5ae3b31a5c0a03657b20c287c (patch) | |
tree | b469d0fbed7e5c5900919b25ce85de7666fa06c6 /lib | |
parent | e6cd27722a2dffed04402dc20389253eab5b1412 (diff) | |
download | f2fs-tools-17a7e7e0f03227d5ae3b31a5c0a03657b20c287c.tar.gz |
f2fs-tools: avoid unused parameter build errors
This patch specifies unused parameters explicitly to avoid build errors.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libf2fs_zoned.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libf2fs_zoned.c b/lib/libf2fs_zoned.c index 8b88fe9..e58d3ce 100644 --- a/lib/libf2fs_zoned.c +++ b/lib/libf2fs_zoned.c @@ -474,13 +474,14 @@ out: #else -int f2fs_report_zone(int i, u_int64_t sector, void *blkzone) +int f2fs_report_zone(int i, u_int64_t UNUSED(sector), void *UNUSED(blkzone)) { ERR_MSG("%d: Unsupported zoned block device\n", i); return -1; } -int f2fs_report_zones(int i, report_zones_cb_t *report_zones_cb, void *opaque) +int f2fs_report_zones(int i, report_zones_cb_t *UNUSED(report_zones_cb), + void *UNUSED(opaque)) { ERR_MSG("%d: Unsupported zoned block device\n", i); return -1; @@ -513,7 +514,7 @@ int f2fs_check_zones(int i) return -1; } -int f2fs_reset_zone(int i, void *blkzone) +int f2fs_reset_zone(int i, void *UNUSED(blkzone)) { ERR_MSG("%d: Unsupported zoned block device\n", i); return -1; |