diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 673833b0c36..19cb49e8886 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -672,8 +672,6 @@ int OSD::init() } class_handler = new ClassHandler(); - if (!class_handler) - return -ENOMEM; cls_initialize(class_handler); // load up "current" osdmap