bluez: remove unnecessary goto
authorLuis de Bethencourt <luis@debethencourt.com>
Wed, 8 Jul 2015 11:16:35 +0000 (12:16 +0100)
committerLuis de Bethencourt <luis@debethencourt.com>
Wed, 8 Jul 2015 11:23:51 +0000 (12:23 +0100)
commit7d08d565273b9a3d21d5c080b8c4770d0b91a5ed
tree7da52f4aa07bb3225be4004f5fe3477bfc127a25
parenta01133dd8f00a8563ba41b0c7778ccbda11b234e
bluez: remove unnecessary goto

All goto fail happen before ret is set. ret must be NULL, and the only
thing the fail statement block does is return NULL. Replacing the jumps to
do this return directly.

CID #1311329
sys/bluez/gstavdtpsrc.c