mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
os/FileStore.cc: remove assignment of a never used value
There is no need to set local variable basedir_fd to -1 after closing and right before leaving the function. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
a6f4de924c
commit
2a94340019
@ -811,7 +811,6 @@ int FileStore::mkfs()
|
||||
fsid_fd = -1;
|
||||
close_basedir_fd:
|
||||
TEMP_FAILURE_RETRY(::close(basedir_fd));
|
||||
basedir_fd = -1;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user