diff options
author | Mike Marshall <hubcap@omnibond.com> | 2019-07-03 23:26:44 +0200 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2019-07-11 18:53:02 +0200 |
commit | e65682b55956e9fbf8a88f303a48e7c1430ffe15 (patch) | |
tree | 794ce0985af7d4adda0c822abddbafded9487fbf /fs/orangefs | |
parent | orangefs: remove redundant assignment to variable buffer_index (diff) | |
download | linux-e65682b55956e9fbf8a88f303a48e7c1430ffe15.tar.xz linux-e65682b55956e9fbf8a88f303a48e7c1430ffe15.zip |
orangefs: eliminate needless variable assignments
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs')
-rw-r--r-- | fs/orangefs/file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c index 80f06ee794c5..86f63e014ffb 100644 --- a/fs/orangefs/file.c +++ b/fs/orangefs/file.c @@ -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; |