drm/nouveau/gr/gf100: Remove second semicolon
Subsystems (4)
PATCH 1/1 drm/nouveau/gr/gf100: Remove second semicolon
There is a statement with two semicolons. Remove the second one, it is redundant.
Signed-off-by Colin Ian King <[email protected]>
--- 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
@@ -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
Danilo Krummrich
AppliedQuoted 4 lines · Colin Ian King
There is a statement with two semicolons. Remove the second one, it is redundant.
Signed-off-by Colin Ian King <[email protected]>
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@@ -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; }