mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-05-26 11:40:24 +02:00
drm/nouveau: Remove surplus struct member
struct nouveau_channel contains the member 'accel_done' and a forgotten TODO which hints at that mechanism being removed in the "near future". Since that variable is read nowhere anymore, this "near future" is now. Remove the variable and the TODO. Signed-off-by: Philipp Stanner <phasta@kernel.org> Link: https://lore.kernel.org/r/20250801074531.79237-2-phasta@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
committed by
Danilo Krummrich
parent
6510b62fe9
commit
1bf30a4565
@@ -31,8 +31,6 @@ struct nouveau_channel {
|
||||
u64 addr;
|
||||
} push;
|
||||
|
||||
/* TODO: this will be reworked in the near future */
|
||||
bool accel_done;
|
||||
void *fence;
|
||||
struct {
|
||||
int max;
|
||||
|
||||
@@ -90,7 +90,6 @@ FIRE_RING(struct nouveau_channel *chan)
|
||||
{
|
||||
if (chan->dma.cur == chan->dma.put)
|
||||
return;
|
||||
chan->accel_done = true;
|
||||
|
||||
WRITE_PUT(chan->dma.cur);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user