]> granicus.if.org Git - sysstat/commitdiff
iostat: Removed unused definitions from iostat.h
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 20 Jul 2019 08:48:21 +0000 (10:48 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 20 Jul 2019 08:48:21 +0000 (10:48 +0200)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
iostat.h

index 621d56f05025c1bb2bd5bdad1e16de06cc77d565..2a0359ed85b7c96f62d1bbebff54f04be93d8367 100644 (file)
--- a/iostat.h
+++ b/iostat.h
@@ -155,27 +155,4 @@ struct ext_io_stats {
        double darqsz;
 };
 
-/*
- * Each io_stats structure has an associated io_hdr_stats structure.
- * An io_hdr_stats structure tells if the corresponding device has been
- * unregistered or not (status field) and also indicates the device name.
- */
-struct io_hdr_stats {
-       unsigned int status             __attribute__ ((aligned (4)));
-       unsigned int used               __attribute__ ((packed));
-       char name[MAX_NAME_LEN];
-};
-
-#define IO_HDR_STATS_SIZE      (sizeof(struct io_hdr_stats))
-
-/* List of devices entered on the command line */
-struct io_dlist {
-       /* Indicate whether its partitions are to be displayed or not */
-       int disp_part                   __attribute__ ((aligned (4)));
-       /* Device name */
-       char dev_name[MAX_NAME_LEN];
-};
-
-#define IO_DLIST_SIZE  (sizeof(struct io_dlist))
-
 #endif  /* _IOSTAT_H */