mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
Merge pull request #10475 from yonghengdexin735/wip-zzz-rgw
rgw/rgw_main: fix unnecessary variables defined Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com> Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
9852b0c502
@ -78,9 +78,8 @@ void signal_shutdown()
|
||||
int val = 0;
|
||||
int ret = write(signal_fd[0], (char *)&val, sizeof(val));
|
||||
if (ret < 0) {
|
||||
int err = -errno;
|
||||
derr << "ERROR: " << __func__ << ": write() returned "
|
||||
<< cpp_strerror(-err) << dendl;
|
||||
<< cpp_strerror(errno) << dendl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user