rbd: remove a redundant else statement

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-04-08 16:13:40 -04:00 committed by John Mulligan
parent 9f6d4d48bb
commit 8ce5fa5fc7
1 changed files with 1 additions and 2 deletions

View File

@ -33,9 +33,8 @@ func getError(err C.int) error {
return ErrNotFound
}
return RBDError(err)
} else {
return nil
}
return nil
}
// Public go errors: