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
Loading
Please register or sign in to comment