summaryrefslogtreecommitdiffstats
path: root/lib/glob.c
diff options
context:
space:
mode:
authorAndré Almeida <andrealmeid@collabora.com>2019-10-25 14:16:51 -0600
committerJens Axboe <axboe@kernel.dk>2019-10-25 14:28:10 -0600
commit1fead7182f381ab0ebab5eaf1a060a15550da994 (patch)
tree412538fe967fcfccd7e14826a568cd433c7bc287 /lib/glob.c
parent993e4cdebb5a53bc87f21cdd34d1dc42225de43d (diff)
downloadlinux-1fead7182f381ab0ebab5eaf1a060a15550da994.tar.gz
linux-1fead7182f381ab0ebab5eaf1a060a15550da994.tar.bz2
linux-1fead7182f381ab0ebab5eaf1a060a15550da994.zip
blk-mq: remove needless goto from blk_mq_get_driver_tag
The only usage of the label "done" is when (rq->tag != -1) at the beginning of the function. Rather than jumping to label, we can just remove this label and execute the code at the "if". Besides that, the code that would be executed after the label "done" is the return of the logical expression (rq->tag != -1) but since we are already inside the if, we now that this is true. Remove the label and replace the goto with the proper result of the label. Signed-off-by: André Almeida <andrealmeid@collabora.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/glob.c')
0 files changed, 0 insertions, 0 deletions