commit | 1ec5290872b1bd120e44ebffddd47b2a62bc90d1 | [log] [tgz] |
---|---|---|
author | Hans Boehm <hboehm@google.com> | Thu Sep 26 12:59:37 2024 -0700 |
committer | Hans Boehm <hboehm@google.com> | Thu Sep 26 12:59:37 2024 -0700 |
tree | dd92764c2331f048cffa40906474358c2b3edf05 | |
parent | 65daca3b88d5c21ffbbe446ee067edfc010ba614 [diff] |
Remove unnecessary getpriority() system call This was introduced for a valid reason in aosp/1224543, but that reason was later removed. This code wasn't. It is not worth making a system call in order to possibly avoid a second one, which I expect is no more expensive in that, particularly easy, case. Test: Treehugger Change-Id: I346f9b641c6feb791247b16fb900a4ad97e646d2