panfrost: Remove duplicated #if

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13208>
This commit is contained in:
Alyssa Rosenzweig 2021-10-05 18:52:13 -04:00 committed by Marge Bot
parent baaa88cf9e
commit c2d522b07f
1 changed files with 0 additions and 4 deletions

View File

@ -431,11 +431,7 @@ pan_prepare_rt(const struct pan_fb_info *fb, unsigned idx,
pan_rt_init_format(rt, cfg);
#if PAN_ARCH <= 5
cfg->writeback_block_format = mod_to_block_fmt(rt->image->layout.modifier);
#else
cfg->writeback_block_format = mod_to_block_fmt(rt->image->layout.modifier);
#endif
struct pan_surface surf;
pan_iview_get_surface(rt, 0, 0, 0, &surf);