]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: remove unneeded memset from a very hot function
authorPaul Jakma <paul@jakma.org>
Thu, 14 Jan 2010 13:19:40 +0000 (16:19 +0300)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 14 Jan 2010 13:19:40 +0000 (16:19 +0300)
commitefbbcaf1aea686d118019514dcde92b13c92b0fc
tree97965a22204c265ac061f40ea9e461e88c3cd2ea
parent0917f7e7c5920b70295c44bd8aad537bc3ee8581
ospfd: remove unneeded memset from a very hot function

* ospf_lsdb.c: (lsdb_prefix_set) memset is unneeded, as all fields are
initialised explicitly, and this function can be in the top-3 of a
profile when there are a lot of LSAs.
ospfd/ospf_lsdb.c