From 9717dc3f753673ef362e190a0302fd9a17c27174 Mon Sep 17 00:00:00 2001 From: Chao Wu Date: Sun, 9 Oct 2022 14:33:34 +0800 Subject: [PATCH] Dragonball: remove redundant comments in event manager handle_events for EventManager doesn't take max_events as arguments, so we need to update the comments for it. p.s. max_events is defined when initializing the EventManager. fixes: #5382 Signed-off-by: Chao Wu --- src/dragonball/src/event_manager.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dragonball/src/event_manager.rs b/src/dragonball/src/event_manager.rs index f07b786506..69bf4dab4c 100644 --- a/src/dragonball/src/event_manager.rs +++ b/src/dragonball/src/event_manager.rs @@ -101,7 +101,6 @@ impl EventManager { /// Poll pending events and invoke registered event handler. /// /// # Arguments: - /// * max_events: maximum number of pending events to handle /// * timeout: maximum time in milliseconds to wait pub fn handle_events(&self, timeout: i32) -> std::result::Result { self.epoll_mgr