mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-09 10:50:28 +01:00
platform/trivial: remove obsolete code comment
This commit is contained in:
parent
831286df30
commit
2972fd55bf
1 changed files with 0 additions and 5 deletions
|
|
@ -985,11 +985,6 @@ nmp_cache_id_hash (const NMPCacheId *id)
|
|||
guint hash = 5381;
|
||||
guint i, n;
|
||||
|
||||
/* for hashing we only iterate over the actually set bytes and skip the
|
||||
* zero padding at the end (which depends on the type of the id).
|
||||
*
|
||||
* For the equal implementation, we don't care about that and compare the
|
||||
* entire NMPCacheId sized struct. */
|
||||
n = _nmp_cache_id_size_by_type (id->_id_type);
|
||||
for (i = 0; i < n; i++)
|
||||
hash = ((hash << 5) + hash) + ((char *) id)[i]; /* hash * 33 + c */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue