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:
Sage Weil 2012-02-28 09:26:04 -08:00
parent f317028f42
commit edd35c04b4

View File

@ -672,8 +672,6 @@ int OSD::init()
}
class_handler = new ClassHandler();
if (!class_handler)
return -ENOMEM;
cls_initialize(class_handler);
// load up "current" osdmap