mirror of
https://github.com/ceph/go-ceph
synced 2024-12-22 22:24:03 +00:00
rbd: remove a redundant else statement
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
9f6d4d48bb
commit
8ce5fa5fc7
@ -33,9 +33,8 @@ func getError(err C.int) error {
|
||||
return ErrNotFound
|
||||
}
|
||||
return RBDError(err)
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Public go errors:
|
||||
|
Loading…
Reference in New Issue
Block a user