summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index e358585e..dd4ac4b9 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -630,11 +630,6 @@ int _alpm_sync_prepare(alpm_handle_t *handle, alpm_list_t **data)
}
goto cleanup;
}
-
- /* re-order w.r.t. dependencies */
- alpm_list_t *add_orig = trans->add;
- trans->add = _alpm_sortbydeps(handle, add_orig, trans->remove, 0);
- alpm_list_free(add_orig);
}
for(i = trans->add; i; i = i->next) {
/* update download size field */