diff options
author | Tom Rix <trix@redhat.com> | 2023-03-31 08:03:25 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2023-03-31 14:21:28 +0200 |
commit | 74b7d42300a8aabf975ac48d077c6a57e7811df3 (patch) | |
tree | e13a599afb43bc4000a3319c04b7f67b8acf05a6 /fs/reiserfs | |
parent | 9e1fb91bcbad7e329a93f66c150e8bb607b418f7 (diff) | |
download | linux-74b7d42300a8aabf975ac48d077c6a57e7811df3.tar.gz linux-74b7d42300a8aabf975ac48d077c6a57e7811df3.tar.bz2 linux-74b7d42300a8aabf975ac48d077c6a57e7811df3.zip |
reiserfs: remove unused iter variable
clang with W=1 reports
fs/reiserfs/stree.c:1265:6: error: variable
'iter' set but not used [-Werror,-Wunused-but-set-variable]
int iter = 0;
^
This variable is not used so remove it.
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20230331120325.1855111-1-trix@redhat.com>
Diffstat (limited to 'fs/reiserfs')
-rw-r--r-- | fs/reiserfs/stree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/reiserfs/stree.c b/fs/reiserfs/stree.c index 84c12a1947b2..ce5003986789 100644 --- a/fs/reiserfs/stree.c +++ b/fs/reiserfs/stree.c @@ -1262,7 +1262,6 @@ int reiserfs_delete_item(struct reiserfs_transaction_handle *th, #ifdef CONFIG_REISERFS_CHECK char mode; - int iter = 0; #endif BUG_ON(!th->t_trans_id); @@ -1274,7 +1273,6 @@ int reiserfs_delete_item(struct reiserfs_transaction_handle *th, removed = 0; #ifdef CONFIG_REISERFS_CHECK - iter++; mode = #endif prepare_for_delete_or_cut(th, inode, path, |