We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cdbe0a2 + 4b4473f commit 1241834Copy full SHA for 1241834
src/test/fio/fio_librgw.cc
@@ -300,8 +300,6 @@ namespace {
300
*/
301
static void fio_librgw_cleanup(struct thread_data *td)
302
{
303
- int r = 0;
304
-
305
dprint(FD_IO, "fio_librgw_cleanup\n");
306
307
/* cleanup specific data */
@@ -312,9 +310,9 @@ namespace {
312
310
data->release_handles();
313
311
314
if (data->bucket_fh) {
315
- r = rgw_fh_rele(data->fs, data->bucket_fh, 0 /* flags */);
+ rgw_fh_rele(data->fs, data->bucket_fh, 0 /* flags */);
316
}
317
- r = rgw_umount(data->fs, RGW_UMOUNT_FLAG_NONE);
+ rgw_umount(data->fs, RGW_UMOUNT_FLAG_NONE);
318
librgw_shutdown(data->rgw_h);
319
td->io_ops_data = nullptr;
320
delete data;
0 commit comments