diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-02-03 14:35:32 -0500 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2020-02-04 08:24:37 +0100 |
commit | 9cdd89a34b89973fbe646de5976f190ec7bd8d1c (patch) | |
tree | e0c52fa030771d50a70f7415bde705125708f088 /src/panfrost | |
parent | 0f3eb7989b38239d08d729a488ad6b737ec61ad8 (diff) |
pan/midgard: Remove unused variable
../src/panfrost/midgard/mir.c: In function ‘mir_bytemask_of_read_components_index’:
../src/panfrost/midgard/mir.c:471:18: warning: unused variable ‘mask’ [-Wunused-variable]
471 | uint16_t mask = 0;
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Tomeu Vizoso <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3684>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3684>
Diffstat (limited to 'src/panfrost')
-rw-r--r-- | src/panfrost/midgard/mir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/panfrost/midgard/mir.c b/src/panfrost/midgard/mir.c index c3f1eaafb00..5241c6334b2 100644 --- a/src/panfrost/midgard/mir.c +++ b/src/panfrost/midgard/mir.c @@ -468,8 +468,6 @@ mir_bytemask_of_read_components_single(unsigned *swizzle, unsigned inmask, midga uint16_t mir_bytemask_of_read_components_index(midgard_instruction *ins, unsigned i) { - uint16_t mask = 0; - /* Branch writeout uses all components */ if (ins->compact_branch && ins->writeout && (i == 0)) return 0xFFFF; |