shash: Refactor shash_add_nocopy(), shash_find().
authorBen Pfaff <blp@nicira.com>
Wed, 30 Jun 2010 20:22:28 +0000 (13:22 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 30 Jun 2010 23:49:00 +0000 (16:49 -0700)
commit1c6d8802c23c64a9439be43fa2064aca8083bfb2
tree535769846cd1698634691ec7e5a65cf6c2df1904
parentefdd908807544de7bee8644fafc1400e6a32d936
shash: Refactor shash_add_nocopy(), shash_find().

By breaking out the hash calculation we can enable operations that need
to do both to avoid duplicating the hash calculations.  A following commit
will add such an operation.
lib/shash.c