1
0
Fork 0

orangefs: eliminate needless variable assignments

Signed-off-by: Mike Marshall <hubcap@omnibond.com>
alistair/sunxi64-5.4-dsi
Mike Marshall 2019-07-03 21:26:44 +00:00
parent f10789e4f6
commit e65682b559
1 changed files with 0 additions and 2 deletions

View File

@ -134,7 +134,6 @@ populate_shared_memory:
*/
if (ret == -EAGAIN && op_state_purged(new_op)) {
orangefs_bufmap_put(buffer_index);
buffer_index = -1;
if (type == ORANGEFS_IO_WRITE)
iov_iter_revert(iter, total_size);
gossip_debug(GOSSIP_FILE_DEBUG,
@ -262,7 +261,6 @@ out:
"%s(%pU): PUT buffer_index %d\n",
__func__, handle, buffer_index);
}
buffer_index = -1;
}
op_release(new_op);
return ret;