diff options
author | John Johansen <john.johansen@canonical.com> | 2022-09-24 22:34:07 -0700 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2022-10-03 14:49:04 -0700 |
commit | 73c7e91c8bc98a5da94be62a9a4ba2793f86a97b (patch) | |
tree | a138717e2eed235ba4b099d3d519b3e168affff4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1ddece8cd0f43582085497eacff2e3cd37f93d1f (diff) |
apparmor: Remove unnecessary size check when unpacking trans_table
The index into the trans_table has a max size of 2^24 bits which the
code was testing but this is unnecessary as unpack_array can only
unpack a table of 2^16 bits in size so the table unpacked will never
be larger than what can be indexed, and any test here is redundant.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions