Remove no longer neede rpmts->filesystemCount and->filesystems
authorFlorian Festi <ffesti@redhat.com>
Fri, 5 Feb 2010 11:43:21 +0000 (12:43 +0100)
committerFlorian Festi <ffesti@redhat.com>
Fri, 5 Feb 2010 11:43:21 +0000 (12:43 +0100)
lib/rpmts.c
lib/rpmts_internal.h
lib/transaction.c

index 183523d..f45a676 100644 (file)
@@ -855,8 +855,6 @@ rpmts rpmtsCreate(void)
     ts = xcalloc(1, sizeof(*ts));
     memset(&ts->ops, 0, sizeof(ts->ops));
     (void) rpmswEnter(rpmtsOp(ts, RPMTS_OP_TOTAL), -1);
-    ts->filesystemCount = 0;
-    ts->filesystems = NULL;
     ts->dsi = NULL;
 
     ts->solve = NULL;
index c4f42f8..08d7937 100644 (file)
@@ -26,8 +26,6 @@ struct rpmts_s {
     rpmprobFilterFlags ignoreSet;
                                /*!< Bits to filter current problems. */
 
-    unsigned int filesystemCount;      /*!< No. of mounted filesystems. */
-    const char ** filesystems; /*!< Mounted filesystem names. */
     rpmDiskSpaceInfo dsi;      /*!< Per filesystem disk/inode usage. */
 
     rpmdb rdb;                 /*!< Install database handle. */
index e61cd57..c585df9 100644 (file)
@@ -65,7 +65,6 @@ static int rpmtsInitDSI(const rpmts ts)
     if (rpmtsFilterFlags(ts) & RPMPROB_FILTER_DISKSPACE)
        return 0;
     ts->dsi = _free(ts->dsi);
-    ts->filesystemCount = 0;
     ts->dsi = xcalloc(1, sizeof(*ts->dsi));
     return 0;
 }