[XEN PATCH] libs/util: Remove unused headers in libxlu_pci.c

Anthony PERARD posted 1 patch 1 year, 2 months ago
Test gitlab-ci passed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20230209121140.10982-1-anthony.perard@citrix.com
tools/libs/util/libxlu_pci.c | 3 ---
1 file changed, 3 deletions(-)
[XEN PATCH] libs/util: Remove unused headers in libxlu_pci.c
Posted by Anthony PERARD 1 year, 2 months ago
libxlu_pci.c doesn't use any "xlu__cfg*()" functions and doesn't use
any of the disk parsing functions "xlu__disk*()", so all those headers
can be removed.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 tools/libs/util/libxlu_pci.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tools/libs/util/libxlu_pci.c b/tools/libs/util/libxlu_pci.c
index 551d8e3aed..294482c6d7 100644
--- a/tools/libs/util/libxlu_pci.c
+++ b/tools/libs/util/libxlu_pci.c
@@ -3,9 +3,6 @@
 #include <ctype.h>
 
 #include "libxlu_internal.h"
-#include "libxlu_disk_l.h"
-#include "libxlu_disk_i.h"
-#include "libxlu_cfg_i.h"
 
 
 #define XLU__PCI_ERR(_c, _x, _a...) \
-- 
Anthony PERARD
Re: [XEN PATCH] libs/util: Remove unused headers in libxlu_pci.c
Posted by Andrew Cooper 1 year, 2 months ago
On 09/02/2023 12:11 pm, Anthony PERARD wrote:
> libxlu_pci.c doesn't use any "xlu__cfg*()" functions and doesn't use
> any of the disk parsing functions "xlu__disk*()", so all those headers
> can be removed.
>
> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>