diff options
| author | Nathan Chancellor <[email protected]> | 2024-03-28 16:22:07 +0000 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2024-04-02 07:35:18 +0000 |
| commit | d76653c32dd16d78e56208b4819134e766257c06 (patch) | |
| tree | 6035597ba574c00ab30023774ca9ad70a3909c53 /drivers/gpu/drm/ast/ast_main.c | |
| parent | drm/panthor: Drop the dev_enter/exit() sections in _irq_suspend/resume() (diff) | |
| download | kernel-d76653c32dd16d78e56208b4819134e766257c06.tar.gz kernel-d76653c32dd16d78e56208b4819134e766257c06.zip | |
drm/panthor: Fix clang -Wunused-but-set-variable in tick_ctx_apply()
Clang warns (or errors with CONFIG_WERROR):
drivers/gpu/drm/panthor/panthor_sched.c:2048:6: error: variable 'csg_mod_mask' set but not used [-Werror,-Wunused-but-set-variable]
2048 | u32 csg_mod_mask = 0, free_csg_slots = 0;
| ^
1 error generated.
The variable is an artifact left over from refactoring that occurred
during the development of the initial series for this driver. Remove it
to resolve the warning.
Fixes: de8548813824 ("drm/panthor: Add the scheduler logical block")
Signed-off-by: Nathan Chancellor <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Reviewed-by: Justin Stitt <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/ast/ast_main.c')
0 files changed, 0 insertions, 0 deletions
