diff mbox series

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

Message ID 20230209121140.10982-1-anthony.perard@citrix.com (mailing list archive)
State New, archived
Headers show
Series [XEN] libs/util: Remove unused headers in libxlu_pci.c | expand

Commit Message

Anthony PERARD Feb. 9, 2023, 12:11 p.m. UTC
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(-)

Comments

Andrew Cooper Feb. 9, 2023, 1:58 p.m. UTC | #1
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>
diff mbox series

Patch

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...) \