hypervisor: x86: emulator: drop unneeded curly brackets

There is no need to have a pair of curly brackets for structures without
any member.

No functional change.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu
2020-12-03 12:23:52 +00:00
committed by Samuel Ortiz
parent 89bc413add
commit 90ae4676c8
2 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -482,7 +482,7 @@ macro_rules! gen_handler_match {
($value: ident, $( ($module:ident, $code:ident) ),* ) => {
match $value {
$(
Code::$code => Some(Box::new($module::$code {})),
Code::$code => Some(Box::new($module::$code)),
)*
_ => None,
}