patch-mkfs_ubifs_hashtable_hashtable_itr_c 864 B

123456789101112131415161718192021
  1. --- mtd-utils-ca39eb1.orig/mkfs.ubifs/hashtable/hashtable_itr.c 2012-05-07 09:19:39.000000000 +0200
  2. +++ mtd-utils-ca39eb1/mkfs.ubifs/hashtable/hashtable_itr.c 2015-12-25 23:30:04.000000000 +0100
  3. @@ -35,18 +35,6 @@ hashtable_iterator(struct hashtable *h)
  4. }
  5. /*****************************************************************************/
  6. -/* key - return the key of the (key,value) pair at the current position */
  7. -/* value - return the value of the (key,value) pair at the current position */
  8. -
  9. -void *
  10. -hashtable_iterator_key(struct hashtable_itr *i)
  11. -{ return i->e->k; }
  12. -
  13. -void *
  14. -hashtable_iterator_value(struct hashtable_itr *i)
  15. -{ return i->e->v; }
  16. -
  17. -/*****************************************************************************/
  18. /* advance - advance the iterator to the next element
  19. * returns zero if advanced to end of table */