cleanup: save one dereference in _block_data_free
commit688d05a8125378d022e87c0c6674b8f10cb840de
authorPetr Tesarik <petr@tesarici.cz>
Tue, 25 Sep 2012 23:16:40 +0000 (26 01:16 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Tue, 25 Sep 2012 23:16:40 +0000 (26 01:16 +0200)
tree7ff170af2ee09ece59c35a35129ffb40e62c7817
parentf223c172166e70ec263af01db46cf4dbf83c9358
cleanup: save one dereference in _block_data_free

Since "cache" is only needed to get cache->swp, but the C compiler
can't know that swp_free will never change its value, it has to
fetch its value again after calling swp_free(). If we copy the value
into a local variable, then gcc can optimize the second load out,
keeping the value in a register...
libhed/cache.c