From 27b216694a9e19f932f24e6fceb6c114aeae5fb9 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Fri, 5 Feb 2010 12:43:21 +0100 Subject: [PATCH] Remove no longer neede rpmts->filesystemCount and->filesystems --- lib/rpmts.c | 2 -- lib/rpmts_internal.h | 2 -- lib/transaction.c | 1 - 3 files changed, 5 deletions(-) diff --git a/lib/rpmts.c b/lib/rpmts.c index 183523d..f45a676 100644 --- a/lib/rpmts.c +++ b/lib/rpmts.c @@ -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; diff --git a/lib/rpmts_internal.h b/lib/rpmts_internal.h index c4f42f8..08d7937 100644 --- a/lib/rpmts_internal.h +++ b/lib/rpmts_internal.h @@ -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. */ diff --git a/lib/transaction.c b/lib/transaction.c index e61cd57..c585df9 100644 --- a/lib/transaction.c +++ b/lib/transaction.c @@ -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; } -- 2.7.4