ioengine: remove duplicate queue handler check
authorDavid Disseldorp <ddiss@suse.de>
Thu, 21 Jan 2016 16:45:44 +0000 (17:45 +0100)
committerDavid Disseldorp <ddiss@suse.de>
Thu, 21 Jan 2016 16:45:44 +0000 (17:45 +0100)
Signed-off-by: David Disseldorp <ddiss@suse.de>
ioengines.c

index 9c5ac60..decc9cb 100644 (file)
@@ -49,10 +49,6 @@ static int check_engine_ops(struct ioengine_ops *ops)
                log_err("%s: no getevents handler\n", ops->name);
                return 1;
        }
-       if (!ops->queue) {
-               log_err("%s: no queue handler\n", ops->name);
-               return 1;
-       }
 
        return 0;
 }