diff options
| author | Nicolas Saenz Julienne <[email protected]> | 2018-11-20 15:53:43 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-11-27 10:13:37 +0100 |
| commit | 3fc499c8b53401c44dcf37b95b2329c5591f14ae (patch) | |
| tree | 8f977b13689b38b855be3e52546dfbbdb31f1ee0 /tools/perf/scripts/python | |
| parent | 14f4d72fb799a9b3170a45ab80d4a3ddad541960 (diff) | |
staging: vchiq_core: remove unnecessary safety checks in vchiq_init_state
vchiq_init_state() checks the initial contents of slot_zero are correct.
These are set in vchiq_init_slots(), using the same hard-coded defaults
as the checks. Both functions are called sequentially and Video Core
isn't yet aware of the slot's address. There is no way the contents of
slot_zero changed in between functions, making the checks useless.
Signed-off-by: Nicolas Saenz Julienne <[email protected]>
Acked-by: Stefan Wahren <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions