summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-03-09 14:56:55 +0100
committerThomas Haller <thaller@redhat.com>2017-03-09 14:57:00 +0100
commit2972fd55bfbd893fb2a7a0493d6ecbdbf8a4aaa6 (patch)
tree609ecbeb385b8fa742d097453d3d784c98aaa491
parent831286df3001e6b76b7baeb10a7723841ab8b35e (diff)
downloadNetworkManager-2972fd55bfbd893fb2a7a0493d6ecbdbf8a4aaa6.tar.gz
platform/trivial: remove obsolete code comment
-rw-r--r--src/platform/nmp-object.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/platform/nmp-object.c b/src/platform/nmp-object.c
index 1503ca9a17..0965ee9dfc 100644
--- a/src/platform/nmp-object.c
+++ b/src/platform/nmp-object.c
@@ -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 */