From f3f39cef84330b734c36a60e48cf26a3f3e1f76c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 11 Aug 2011 20:08:31 -0500 Subject: 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 --- lib/libalpm/be_local.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'lib/libalpm/be_local.c') 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, -- cgit v1.2.3