aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2011-02-19 12:06:02 -0300
committerGustavo F. Padovan <padovan@profusion.mobi>2011-02-21 17:22:45 -0300
commita664b5bc77fbc80c163de5606114659d3cbeb043 (patch)
tree4cf0b60af8a38ea3f1d8a00caf4d82289333b680 /net/l2tp
parenta958355699dd90ba69951bdf55dda00e3e97222c (diff)
downloadkernel_samsung_smdk4412-a664b5bc77fbc80c163de5606114659d3cbeb043.zip
kernel_samsung_smdk4412-a664b5bc77fbc80c163de5606114659d3cbeb043.tar.gz
kernel_samsung_smdk4412-a664b5bc77fbc80c163de5606114659d3cbeb043.tar.bz2
Bluetooth: Fix unnecessary list traversal in mgmt_pending_remove
All of the places that need to call mgmt_pending_remove already have a pointer to the pending command, so searching for the command in the list doesn't make sense. The added benefit is that many places that previously had to call list_del + mgmt_pending_free can just call mgmt_pending_remove now. Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions