[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH 2/3] inspect: Remove unused is_swap field from filesystem struct



---
 src/guestfs-internal.h | 1 -
 src/inspect-fs.c       | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
index c1234ce..ffcf91e 100644
--- a/src/guestfs-internal.h
+++ b/src/guestfs-internal.h
@@ -426,7 +426,6 @@ struct inspect_fs {
   int is_root;
   char *device;
   int is_mountable;
-  int is_swap;
   enum inspect_os_type type;
   enum inspect_os_distro distro;
   enum inspect_os_package_format package_format;
diff --git a/src/inspect-fs.c b/src/inspect-fs.c
index 706e82e..2a4d480 100644
--- a/src/inspect-fs.c
+++ b/src/inspect-fs.c
@@ -112,7 +112,6 @@ guestfs___check_for_filesystem_on (guestfs_h *g, const char *device,
     if (extend_fses (g) == -1)
       return -1;
     fs = &g->fses[g->nr_fses-1];
-    fs->is_swap = 1;
     return 0;
   }
 
-- 
1.7.11.7


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]