mirror of https://github.com/ceph/go-ceph
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