mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-30 23:37:45 +00:00
uevent: Fix clippy warning
unneeded `return` statement Signed-off-by: Arron Wang <arron.wang@intel.com>
This commit is contained in:
parent
77ba9dcdbb
commit
3454785c9b
@ -240,7 +240,6 @@ pub(crate) fn spawn_test_watcher(sandbox: Arc<Mutex<Sandbox>>, uev: Uevent) {
|
||||
if matcher.is_match(&uev) {
|
||||
let (_, sender) = watch.take().unwrap();
|
||||
let _ = sender.send(uev.clone());
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user