Bluetooth: Refactor mgmt_pending_foreach
authorAndre Guedes <andre.guedes@openbossa.org>
Fri, 1 Feb 2013 14:21:30 +0000 (11:21 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 1 Feb 2013 17:50:18 +0000 (15:50 -0200)
commita3d09356491d637548dbe815ddb966f52ec9e53a
treea50d37505e519fbb6f9ab82e893282916153884f
parent2b8a9a2e6a2143928819f2fb948d3904746e1582
Bluetooth: Refactor mgmt_pending_foreach

This patch does a trivial refactor in mgmt_pending_foreach function.
It replaces list_for_each_safe by list_for_each_entry_safe, simplifying
the function.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c