summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/be_local.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-12 03:08:31 +0200
committerDan McGee <dan@archlinux.org>2011-08-15 19:11:59 +0200
commitf3f39cef84330b734c36a60e48cf26a3f3e1f76c (patch)
treebda8491253aef025a8543b9348b7aa2bbec866d7 /lib/libalpm/be_local.c
parent7de92cb2232b2fc40c8fe749da78e8920afa0f1f (diff)
downloadpacman-f3f39cef84330b734c36a60e48cf26a3f3e1f76c.tar.gz
pacman-f3f39cef84330b734c36a60e48cf26a3f3e1f76c.tar.xz
Remove checksum access indirection
These items are never present in anything but sync databases, nor do we even try to load them from the local database. Remvoe the indirection meant to allow the caching layer to work since it will never do anything anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_local.c')
-rw-r--r--lib/libalpm/be_local.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index 67b66f28..fdb4ceaf 100644
--- a/lib/libalpm/be_local.c
+++ b/lib/libalpm/be_local.c
@@ -93,18 +93,6 @@ static const char *_cache_get_packager(alpm_pkg_t *pkg)
return pkg->packager;
}
-static const char *_cache_get_md5sum(alpm_pkg_t *pkg)
-{
- LAZY_LOAD(INFRQ_DESC, NULL);
- return pkg->md5sum;
-}
-
-static const char *_cache_get_sha256sum(alpm_pkg_t *pkg)
-{
- LAZY_LOAD(INFRQ_DESC, NULL);
- return pkg->sha256sum;
-}
-
static const char *_cache_get_arch(alpm_pkg_t *pkg)
{
LAZY_LOAD(INFRQ_DESC, NULL);
@@ -256,8 +244,6 @@ static struct pkg_operations local_pkg_ops = {
.get_builddate = _cache_get_builddate,
.get_installdate = _cache_get_installdate,
.get_packager = _cache_get_packager,
- .get_md5sum = _cache_get_md5sum,
- .get_sha256sum = _cache_get_sha256sum,
.get_arch = _cache_get_arch,
.get_size = _cache_get_size,
.get_isize = _cache_get_isize,