Skip to contentSkip to conversation

drm/nouveau: remove unused struct 'init_exec'

PATCH Applied [email protected] 2 participants 5 messages May 17, 2024 – Jun 11, 2024

Subsystems (3)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/6 drm/nouveau: remove unused struct 'init_exec'

From: "Dr. David Alan Gilbert" <[email protected]>

'init_exec' is unused since
commit cb75d97e9c77 ("drm/nouveau: implement devinit subdev, and new init table parser")
Remove it.

---
 drivers/gpu/drm/nouveau/nouveau_bios.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/nouveau/nouveau_bios.c +0 -5
index 79cfab53f80e..8c3c1f1e01c5 100644
@@ -43,11 +43,6 @@
 #define BIOSLOG(sip, fmt, arg...) NV_DEBUG(sip->dev, fmt, ##arg)
 #define LOG_OLD_VALUE(x)
 
-struct init_exec {
-	bool execute;
-	bool repeat;
-};
-
 static bool nv_cksum(const uint8_t *data, unsigned int length)
 {
 	/*
Signature · 1 line
2.45.1
#1 lore raw
Quoted 8 lines · * [email protected] ([email protected]) wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

'init_exec' is unused since
commit cb75d97e9c77 ("drm/nouveau: implement devinit subdev, and new init table parser")
Remove it.

Ping.

Quoted 23 lines
---
 drivers/gpu/drm/nouveau/nouveau_bios.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/nouveau/nouveau_bios.c +0 -5
index 79cfab53f80e..8c3c1f1e01c5 100644
@@ -43,11 +43,6 @@
 #define BIOSLOG(sip, fmt, arg...) NV_DEBUG(sip->dev, fmt, ##arg)
 #define LOG_OLD_VALUE(x)
 
-struct init_exec {
-	bool execute;
-	bool repeat;
-};
-
 static bool nv_cksum(const uint8_t *data, unsigned int length)
 {
 	/*
Signature · 1 line
2.45.1
Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
Acked-by on v1 2/6
#2 lore raw
In reply to [email protected]
Quoted 8 lines · On 5/18/24 01:26, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

'init_exec' is unused since
commit cb75d97e9c77 ("drm/nouveau: implement devinit subdev, and new init table parser")
Remove it.

To which series does this patch belong? Need me to apply it?

- Danilo

Quoted 20 lines
---
  drivers/gpu/drm/nouveau/nouveau_bios.c | 5 -----
  1 file changed, 5 deletions(-)
drivers/gpu/drm/nouveau/nouveau_bios.c +0 -5
index 79cfab53f80e..8c3c1f1e01c5 100644
@@ -43,11 +43,6 @@
  #define BIOSLOG(sip, fmt, arg...) NV_DEBUG(sip->dev, fmt, ##arg)
  #define LOG_OLD_VALUE(x)
 
-struct init_exec {
-	bool execute;
-	bool repeat;
-};
-
  static bool nv_cksum(const uint8_t *data, unsigned int length)
  {
  	/*
#3 lore raw
Quoted 8 lines · * Danilo Krummrich ([email protected]) wrote:
Quoted 7 lines · On 5/18/24 01:26, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

'init_exec' is unused since
commit cb75d97e9c77 ("drm/nouveau: implement devinit subdev, and new init table parser")
Remove it.

Quoted 5 lines
Quoted 1 line

To which series does this patch belong?

Actually all of them were independent patches on drm some of which are all in, so it can be taken by itself.

Quoted 1 line

Need me to apply it?

Yes please!

Thanks,

Dave

Quoted 22 lines

- Danilo

Quoted 19 lines
---
  drivers/gpu/drm/nouveau/nouveau_bios.c | 5 -----
  1 file changed, 5 deletions(-)
drivers/gpu/drm/nouveau/nouveau_bios.c +0 -5
index 79cfab53f80e..8c3c1f1e01c5 100644
@@ -43,11 +43,6 @@
  #define BIOSLOG(sip, fmt, arg...) NV_DEBUG(sip->dev, fmt, ##arg)
  #define LOG_OLD_VALUE(x)
-struct init_exec {
-	bool execute;
-	bool repeat;
-};
-
  static bool nv_cksum(const uint8_t *data, unsigned int length)
  {
  	/*
Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
#4 lore raw
Quoted 13 lines · Dr. David Alan Gilbert
Quoted 12 lines · * Danilo Krummrich ([email protected]) wrote:
Quoted 8 lines · On 5/18/24 01:26, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

'init_exec' is unused since
commit cb75d97e9c77 ("drm/nouveau: implement devinit subdev, and new init table parser")
Remove it.

Quoted 8 lines
Quoted 1 line

To which series does this patch belong?

Actually all of them were independent patches on drm some of which are all in, so it can be taken by itself.

Quoted 1 line

Need me to apply it?

Yes please!

Applied to drm-misc-fixes, thanks!

Quoted 27 lines

Thanks,

Dave

Quoted 22 lines

- Danilo

Quoted 19 lines
---
   drivers/gpu/drm/nouveau/nouveau_bios.c | 5 -----
   1 file changed, 5 deletions(-)
drivers/gpu/drm/nouveau/nouveau_bios.c +0 -5
index 79cfab53f80e..8c3c1f1e01c5 100644
@@ -43,11 +43,6 @@
   #define BIOSLOG(sip, fmt, arg...) NV_DEBUG(sip->dev, fmt, ##arg)
   #define LOG_OLD_VALUE(x)
-struct init_exec {
-	bool execute;
-	bool repeat;
-};
-
   static bool nv_cksum(const uint8_t *data, unsigned int length)
   {
   	/*