summaryrefslogtreecommitdiff
path: root/include/media/videobuf2-memops.h
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-04-10 13:16:00 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-11 16:14:33 +0200
commiteb8c4e546961cbdb7d448458c24dfae9d1622510 (patch)
tree05537631ee020ece7cee0c47e20d29bc12a50a7e /include/media/videobuf2-memops.h
parent1e0aa795daf9b7adeb4fccb7394c12e39f31c020 (diff)
staging: ks7010: remove multi-way decision
Function uses multi-way decision for control flow. Final statement of function is spin_unlock(). Code can be simplified by adding a goto label labelling the call to spin_unlock() and jumping to label instead of using multi-way decision. This allows the code to be indented one level less which adds to the readability. Add goto label. Remove multi-way decision by jumping to label. Reduce indentation in subsequent code. Do not change program logic. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/media/videobuf2-memops.h')
0 files changed, 0 insertions, 0 deletions