Skip to contentSkip to conversation

drm/nouveau/gr/gf100: Remove second semicolon

PATCH Applied Colin Ian King 2 participants 2 messages Mar 15, 2024 – Mar 28, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/nouveau/gr/gf100: Remove second semicolon

There is a statement with two semicolons. Remove the second one, it is redundant.

---
 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c +1 -1
index 986e8d547c94..060c74a80eb1 100644
@@ -420,7 +420,7 @@ gf100_gr_chan_new(struct nvkm_gr *base, struct nvkm_chan *fifoch,
 			return ret;
 	} else {
 		ret = nvkm_memory_map(gr->attrib_cb, 0, chan->vmm, chan->attrib_cb,
-				      &args, sizeof(args));;
+				      &args, sizeof(args));
 		if (ret)
 			return ret;
 	}
Signature · 1 line
2.39.2
#1 lore raw
Quoted 4 lines · Colin Ian King

There is a statement with two semicolons. Remove the second one, it is redundant.

Applied, thanks!

Quoted 17 lines
---
  drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c +1 -1
index 986e8d547c94..060c74a80eb1 100644
@@ -420,7 +420,7 @@ gf100_gr_chan_new(struct nvkm_gr *base, struct nvkm_chan *fifoch,
  			return ret;
  	} else {
  		ret = nvkm_memory_map(gr->attrib_cb, 0, chan->vmm, chan->attrib_cb,
-				      &args, sizeof(args));;
+				      &args, sizeof(args));
  		if (ret)
  			return ret;
  	}