[libdrm] etnaviv: drop etna_bo_from_handle symbol

Submitted by Lucas Stach on May 29, 2019, 10:08 a.m.

Details

Message ID 20190529100834.32278-1-l.stach@pengutronix.de
State New
Headers show
Series "etnaviv: drop etna_bo_from_handle symbol" ( rev: 1 ) in Mesa

Not browsing as part of any series.

Commit Message

Lucas Stach May 29, 2019, 10:08 a.m.
There is no implementation and also no users, so there is no point
in keeping it in the API.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 etnaviv/etnaviv-symbol-check | 1 -
 etnaviv/etnaviv_drmif.h      | 2 --
 2 files changed, 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/etnaviv/etnaviv-symbol-check b/etnaviv/etnaviv-symbol-check
index 0e2030e4672f..965870236111 100755
--- a/etnaviv/etnaviv-symbol-check
+++ b/etnaviv/etnaviv-symbol-check
@@ -23,7 +23,6 @@  etna_pipe_del
 etna_pipe_wait
 etna_pipe_wait_ns
 etna_bo_new
-etna_bo_from_handle
 etna_bo_from_name
 etna_bo_from_dmabuf
 etna_bo_ref
diff --git a/etnaviv/etnaviv_drmif.h b/etnaviv/etnaviv_drmif.h
index 87704acd3469..198bb429ada2 100644
--- a/etnaviv/etnaviv_drmif.h
+++ b/etnaviv/etnaviv_drmif.h
@@ -112,8 +112,6 @@  int etna_pipe_wait_ns(struct etna_pipe *pipe, uint32_t timestamp, uint64_t ns);
 
 struct etna_bo *etna_bo_new(struct etna_device *dev,
 		uint32_t size, uint32_t flags);
-struct etna_bo *etna_bo_from_handle(struct etna_device *dev,
-		uint32_t handle, uint32_t size);
 struct etna_bo *etna_bo_from_name(struct etna_device *dev, uint32_t name);
 struct etna_bo *etna_bo_from_dmabuf(struct etna_device *dev, int fd);
 struct etna_bo *etna_bo_ref(struct etna_bo *bo);

Comments

On Wed, 2019-05-29 at 12:08 +0200, Lucas Stach wrote:
> There is no implementation and also no users, so there is no point
> in keeping it in the API.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>

Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>

This makes https://patchwork.kernel.org/patch/9912089/ obsolete.

regards
Philipp