summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2022-10-25 17:56:25 -0700
committer Siarhei Vishniakou <svv@google.com> 2022-11-02 00:30:43 +0000
commit79c3266e58c3963840d929513aa118199720eb20 (patch)
treed1787a800e4eb18c5dec1f322a015abc9de5b0f7 /libs/gui/BLASTBufferQueue.cpp
parent0d7751fb67baa1eb296902fadeb37da26623f8df (diff)
Remove 2 goto statements for wrongDevice
If wrongDevice is set to true, we can just return right away. And since we are returning right away, we don't have to handle that case at the bottom of the function. This CL reduces the identation and simplifies the logic a bit. There should be no functional change. Bug: 211379801 Test: atest inputflinger_tests Change-Id: I3b11f27bc4efa7d2623ea54ce0a62eb4e6d1526b
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions