xen/x86: Remove parentheses from return arguments
PATCH 1/1 xen/x86: Remove parentheses from return arguments
This patch remove unnecessary parentheses from return arguments.
Signed-off-by Simran Singhal <[email protected]>
--- xen/arch/x86/cpu/mcheck/mctelem.c | 2 +- xen/arch/x86/hvm/irq.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
xen/arch/x86/cpu/mcheck/mctelem.c +1 -1
@@ -382,7 +382,7 @@ mctelem_cookie_t mctelem_reserve(mctelem_class_t which)if (bit >=MC_NENT ) { mctelem_drop_count++; -return (NULL ); +return NULL ; }/* try to allocate, atomically clear free bit */
xen/arch/x86/hvm/irq.c +2 -2
@@ -693,7 +693,7 @@ static int irq_save_isa(struct vcpu *v, hvm_domain_context_t *h)struct hvm_irq *hvm_irq =hvm_domain_irq (d);/* Save ISA IRQ lines */ -return (hvm_save_entry (ISA_IRQ ,0 , h, &hvm_irq->isa_irq) ); +return hvm_save_entry (ISA_IRQ ,0 , h, &hvm_irq->isa_irq); }static int irq_save_link (struct vcpu *v,hvm_domain_context_t *h)
@@ -702,7 +702,7 @@ static int irq_save_link(struct vcpu *v, hvm_domain_context_t *h)struct hvm_irq *hvm_irq =hvm_domain_irq (d);/* Save PCI-ISA link state */ -return (hvm_save_entry (PCI_LINK ,0 , h, &hvm_irq->pci_link) ); +return hvm_save_entry (PCI_LINK ,0 , h, &hvm_irq->pci_link); }static int irq_load_pci (struct domain *d,hvm_domain_context_t *h)
Signature · 1 line
2.17.1
Quoted 3 lines · Simran Singhal
This patch remove unnecessary parentheses from return arguments.
Signed-off-by Simran Singhal <[email protected]>
Reviewed-by Wei Liu <[email protected]>
Jan Beulich
Acked-byQuoted 6 lines · Wei Liu
Quoted 3 lines · Simran Singhal
This patch remove unnecessary parentheses from return arguments.
Signed-off-by Simran Singhal <[email protected]>Reviewed-by Wei Liu <[email protected]>
Acked-by Jan Beulich <[email protected]>