Dean Jenkins e7456437c1 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>
2015-10-21 00:49:26 +02:00
..
2015-08-30 18:12:36 -04:00
2015-10-13 17:42:34 +02:00
2015-08-24 14:48:10 -07:00
2015-10-07 04:27:43 -07:00
2015-10-21 00:49:24 +02:00
2015-10-08 04:27:03 -07:00
2015-10-15 13:44:35 -07:00
2015-10-08 04:27:03 -07:00