Skip to content

Commit 1241834

Browse files
authored
Merge pull request ceph#61031 from phlogistonjohn/jjm-rm-assigned-only
test/fio: remove assign-only variable Reviewed-by: Casey Bodley <[email protected]>
2 parents cdbe0a2 + 4b4473f commit 1241834

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/test/fio/fio_librgw.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,6 @@ namespace {
300300
*/
301301
static void fio_librgw_cleanup(struct thread_data *td)
302302
{
303-
int r = 0;
304-
305303
dprint(FD_IO, "fio_librgw_cleanup\n");
306304

307305
/* cleanup specific data */
@@ -312,9 +310,9 @@ namespace {
312310
data->release_handles();
313311

314312
if (data->bucket_fh) {
315-
r = rgw_fh_rele(data->fs, data->bucket_fh, 0 /* flags */);
313+
rgw_fh_rele(data->fs, data->bucket_fh, 0 /* flags */);
316314
}
317-
r = rgw_umount(data->fs, RGW_UMOUNT_FLAG_NONE);
315+
rgw_umount(data->fs, RGW_UMOUNT_FLAG_NONE);
318316
librgw_shutdown(data->rgw_h);
319317
td->io_ops_data = nullptr;
320318
delete data;

0 commit comments

Comments
 (0)