mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
osd: drop useless ENOMEM check
new throws exception; doesn't return NULL. Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
f317028f42
commit
edd35c04b4
@ -672,8 +672,6 @@ int OSD::init()
|
||||
}
|
||||
|
||||
class_handler = new ClassHandler();
|
||||
if (!class_handler)
|
||||
return -ENOMEM;
|
||||
cls_initialize(class_handler);
|
||||
|
||||
// load up "current" osdmap
|
||||
|
Loading…
Reference in New Issue
Block a user