diff options
| author | Antonio Quartulli <a@unstable.cc> | 2020-12-10 09:55:05 +0100 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2021-07-23 02:43:40 +0300 |
| commit | f9f6d22b370b365ec5a832c1222f8e2a933197ac (patch) | |
| tree | 75861bb02396007c1d2fdb3a6eb4fc9ccd20fa8b /tools/perf/scripts/python | |
| parent | c8ba73d75cbf6e60520258ecea19aa8afc622a02 (diff) | |
global: avoid double unlikely() notation when using IS_ERR()
The definition of IS_ERR() already applies the unlikely() notation
when checking the error status of the passed pointer. For this
reason there is no need to have the same notation outside of
IS_ERR() itself.
Clean up code by removing redundant notation.
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Change-Id: I7d6bb773908583c55db620a9c5263eb72476bf00
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
