diff mbox series

[2/2] xen/arm: vtimer: Remove duplicate header

Message ID 20220621154402.482857-2-burzalodowa@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/2] xen/arm: vtimer: Fix MISRA C 2012 Rule 8.4 violation | expand

Commit Message

Xenia Ragiadakou June 21, 2022, 3:44 p.m. UTC
The header file <asm/regs.h> is already included above and can be removed here.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
---
 xen/arch/arm/vtimer.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Stefano Stabellini June 21, 2022, 11:44 p.m. UTC | #1
On Tue, 21 Jun 2022, Xenia Ragiadakou wrote:
> The header file <asm/regs.h> is already included above and can be removed here.
> 
> Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>


> ---
>  xen/arch/arm/vtimer.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c
> index 5f26463354..6b78fea77d 100644
> --- a/xen/arch/arm/vtimer.c
> +++ b/xen/arch/arm/vtimer.c
> @@ -30,7 +30,6 @@
>  #include <asm/vgic.h>
>  #include <asm/vreg.h>
>  #include <asm/vtimer.h>
> -#include <asm/regs.h>
>  
>  /*
>   * Check if regs is allowed access, user_gate is tail end of a
> -- 
> 2.34.1
>
diff mbox series

Patch

diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c
index 5f26463354..6b78fea77d 100644
--- a/xen/arch/arm/vtimer.c
+++ b/xen/arch/arm/vtimer.c
@@ -30,7 +30,6 @@ 
 #include <asm/vgic.h>
 #include <asm/vreg.h>
 #include <asm/vtimer.h>
-#include <asm/regs.h>
 
 /*
  * Check if regs is allowed access, user_gate is tail end of a