iter: remove unnecessary indirection in free_dirs
authorChris Nisbet <chris@nisbet.kiwi.nz>
Fri, 24 Jan 2020 17:43:14 +0000 (06:43 +1300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Sat, 25 Jan 2020 11:21:40 +0000 (12:21 +0100)
commit6d486c0016dc9bf4274220813d5c6e7934589430
tree46d0338cb09c1801c0baa07e0d3662f1e7a2c5ff
parent88ad23b149bb65663adc30d6d05971866b1cfad0
iter: remove unnecessary indirection in free_dirs

It is not necessary to pass the address of the 'dirs' variable to
dirs_free(), so this commit removes the unecessary indirection.

Signed-off-by: Chris Nisbet <chris@nisbet.kiwi.nz>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
lib/iter.c