diff options
author | Dean Jenkins <Dean_Jenkins@mentor.com> | 2015-10-14 12:18:45 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-10-21 00:49:26 +0200 |
commit | e7456437c15a2fd42cedd25c2b12b06876f285f0 (patch) | |
tree | 87c6a143827fc5c107464ae2366af8ba42af095a /net/Kconfig | |
parent | 6lowpan: put mcast compression in an own function (diff) | |
download | linux-e7456437c15a2fd42cedd25c2b12b06876f285f0.tar.xz linux-e7456437c15a2fd42cedd25c2b12b06876f285f0.zip |
Bluetooth: Unwind l2cap_sock_shutdown()
l2cap_sock_shutdown() is designed to only action shutdown
of the channel when shutdown is not already in progress.
Therefore, reorganise the code flow by adding a goto
to jump to the end of function handling when shutdown is
already being actioned. This removes one level of code
indentation and make the code more readable.
Signed-off-by: Dean Jenkins <Dean_Jenkins@mentor.com>
Signed-off-by: Harish Jenny K N <harish_kandiga@mentor.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions