gallium/nouveau: remove unused nouveau_screen_bo_user
PATCH 1/1 gallium/nouveau: remove unused nouveau_screen_bo_user
--- src/gallium/drivers/nouveau/nouveau_screen.c | 14 -------------- src/gallium/drivers/nouveau/nouveau_screen.h | 2 -- 2 files changed, 0 insertions(+), 16 deletions(-)
src/gallium/drivers/nouveau/nouveau_screen.c +0 -14
@@ -81,20 +81,6 @@ nouveau_screen_bo_new(struct pipe_screen *pscreen, unsigned alignment,return bo; } -struct nouveau_bo * -nouveau_screen_bo_user (struct pipe_screen *pscreen,void *ptr,unsigned bytes) -{ -struct nouveau_device *dev =nouveau_screen (pscreen)->device; -struct nouveau_bo *bo =NULL ; -int ret; - - ret =nouveau_bo_user (dev, ptr, bytes, &bo); -if (ret) -return NULL ; - -return bo; -} -void * nouveau_screen_bo_map(struct pipe_screen *pscreen, struct nouveau_bo *bo,
src/gallium/drivers/nouveau/nouveau_screen.h +0 -2
@@ -47,8 +47,6 @@ nouveau_screen(struct pipe_screen *pscreen)struct nouveau_bo *nouveau_screen_bo_new (struct pipe_screen *pscreen,unsigned alignment,unsigned usage,unsigned bind,unsigned size); -struct nouveau_bo * -nouveau_screen_bo_user (struct pipe_screen *pscreen,void *ptr,unsigned bytes);void * nouveau_screen_bo_map(struct pipe_screen *pscreen, struct nouveau_bo *pb,
Signature · 1 line
1.7.4.1
Quoted 5 lines · Marcin Slusarz
--- src/gallium/drivers/nouveau/nouveau_screen.c | 14 -------------- src/gallium/drivers/nouveau/nouveau_screen.h | 2 -- 2 files changed, 0 insertions(+), 16 deletions(-)
ping
Quoted 37 lines · Marcin Slusarz
--- src/gallium/drivers/nouveau/nouveau_screen.c | 14 -------------- src/gallium/drivers/nouveau/nouveau_screen.h | 2 -- 2 files changed, 0 insertions(+), 16 deletions(-)src/gallium/drivers/nouveau/nouveau_screen.c +0
-14@@ -81,20 +81,6 @@ nouveau_screen_bo_new(struct pipe_screen *pscreen, unsigned alignment,return bo; } -struct nouveau_bo * -nouveau_screen_bo_user (struct pipe_screen *pscreen,void *ptr,unsigned bytes) -{ -struct nouveau_device *dev =nouveau_screen (pscreen)->device; -struct nouveau_bo *bo =NULL ; -int ret; - - ret =nouveau_bo_user (dev, ptr, bytes, &bo); -if (ret) -return NULL ; - -return bo; -} -void * nouveau_screen_bo_map(struct pipe_screen *pscreen, struct nouveau_bo *bo,src/gallium/drivers/nouveau/nouveau_screen.h +0
-0
src/gallium/drivers/nouveau/nouveau_screen.h nouveau_screen(struct pipe_screen *pscreen) · line 52
Quoted 8 lines
src/gallium/drivers/nouveau/nouveau_screen.h +0
-2@@ -47,8 +47,6 @@ nouveau_screen(struct pipe_screen *pscreen)struct nouveau_bo *nouveau_screen_bo_new (struct pipe_screen *pscreen,unsigned alignment,unsigned usage,unsigned bind,unsigned size); -struct nouveau_bo * -nouveau_screen_bo_user (struct pipe_screen *pscreen,void *ptr,unsigned bytes);void * nouveau_screen_bo_map(struct pipe_screen *pscreen, struct nouveau_bo *pb,
Can someone commit this patch?
Or reject it. Whatever.
Marcin
Pushed, thanks.
Marek
Quoted 50 lines · Marcin Slusarz
Quoted 41 lines · Marcin Slusarz
---
src/gallium/drivers/nouveau/nouveau_screen.c | 14 --------------src/gallium/drivers/nouveau/nouveau_screen.h| 2 --2 files changed, 0 insertions(+), 16 deletions(-)src/gallium/drivers/nouveau/nouveau_screen.c +0
-14@@ -81,20 +81,6 @@ nouveau_screen_bo_new(struct pipe_screen *pscreen, unsigned alignment, return bo; } -struct nouveau_bo * -nouveau_screen_bo_user (struct pipe_screen *pscreen,void *ptr,unsigned bytes) -{ - struct nouveau_device *dev = nouveau_screen(pscreen)->device; - struct nouveau_bo *bo = NULL; - int ret; - - ret = nouveau_bo_user(dev, ptr, bytes, &bo); - if (ret) - return NULL; - - return bo; -} -void *
nouveau_screen_bo_map(structpipe_screen*pscreen, structnouveau_bo*bo,src/gallium/drivers/nouveau/nouveau_screen.h +0
-0@@ -47,8 +47,6 @@ nouveau_screen(struct pipe_screen *pscreen)struct
nouveau_bo*
nouveau_screen_bo_new(structpipe_screen*pscreen, unsigned alignment, unsigned usage, unsigned bind, unsigned size);src/gallium/drivers/nouveau/nouveau_screen.h +0
-2-struct nouveau_bo * -nouveau_screen_bo_user (struct pipe_screen *pscreen,void *ptr,unsigned bytes);Quoted 4 lines
void *
nouveau_screen_bo_map(structpipe_screen*pscreen, structnouveau_bo*pb, --Can someone commit this patch?
Or reject it. Whatever.
Quoted 6 lines
Marcin
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau