]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commit
wlcore: avoid using goto in normal code flow
authorLuciano Coelho <coelho@ti.com>
Tue, 20 Nov 2012 09:03:31 +0000 (11:03 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 27 Nov 2012 08:49:23 +0000 (10:49 +0200)
commitef08d0281a90781b07d2030c1c69f4fb2f156267
tree5d05e326864335e6474cf914378cb68487d17e6b
parenta8e27820f27155d2eaea2426b10bac810c293f3b
wlcore: avoid using goto in normal code flow

Remove goto and label in the code where a simple if can be used.  If
nothing else, this is at least confusing git diff, which shows the
label name as the name of the function.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c