Use alpm_list_remove_item in pkghash_remove
commit1f145bcd1a4fb22d4cb548a3be64898f60820695
authorDan McGee <dan@archlinux.org>
Thu, 3 Feb 2011 02:46:29 +0000 (2 20:46 -0600)
committerAllan McRae <allan@archlinux.org>
Thu, 3 Feb 2011 23:55:46 +0000 (4 09:55 +1000)
tree5e2e8e3647d2c8a3ec44c90fc907f535bc4bd6a4
parent14fd1e63a2ce420c555c6de34a815a8b62a9859b
Use alpm_list_remove_item in pkghash_remove

Removes the code that was duplicated and has now been refactored into a
separate method.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/pkghash.c