Mesa (master): svga: remove some unneeded INLINE qualifiers

Brian Paul brianp at kemper.freedesktop.org
Thu Aug 14 14:55:23 UTC 2014


Module: Mesa
Branch: master
Commit: bfb6b7666534479324f5c13f25330cc9a5d0d818
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfb6b7666534479324f5c13f25330cc9a5d0d818

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Aug 13 16:30:48 2014 -0600

svga: remove some unneeded INLINE qualifiers

Trivial.

---

 src/gallium/drivers/svga/svga_resource_texture.c |    4 ++--
 src/gallium/drivers/svga/svga_screen_cache.c     |    4 ++--
 src/gallium/drivers/svga/svga_surface.c          |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c
index 75e2745..c975a19 100644
--- a/src/gallium/drivers/svga/svga_resource_texture.c
+++ b/src/gallium/drivers/svga/svga_resource_texture.c
@@ -52,7 +52,7 @@
 #define SVGA3D_SURFACE_HINT_SCANOUT (1 << 9)
 
 
-static INLINE void
+static void
 svga_transfer_dma_band(struct svga_context *svga,
                        struct svga_transfer *st,
                        SVGA3dTransferType transfer,
@@ -104,7 +104,7 @@ svga_transfer_dma_band(struct svga_context *svga,
 }
 
 
-static INLINE void
+static void
 svga_transfer_dma(struct svga_context *svga,
                   struct svga_transfer *st,
                   SVGA3dTransferType transfer,
diff --git a/src/gallium/drivers/svga/svga_screen_cache.c b/src/gallium/drivers/svga/svga_screen_cache.c
index 307af1b..f63f783 100644
--- a/src/gallium/drivers/svga/svga_screen_cache.c
+++ b/src/gallium/drivers/svga/svga_screen_cache.c
@@ -88,7 +88,7 @@ svga_screen_cache_bucket(const struct svga_host_surface_cache_key *key)
  * found, remove it from the cache and return the surface pointer.
  * Return NULL otherwise.
  */
-static INLINE struct svga_winsys_surface *
+static struct svga_winsys_surface *
 svga_screen_cache_lookup(struct svga_screen *svgascreen,
                          const struct svga_host_surface_cache_key *key)
 {
@@ -197,7 +197,7 @@ svga_screen_cache_shrink(struct svga_screen *svgascreen,
 /**
  * Transfers a handle reference.
  */
-static INLINE void
+static void
 svga_screen_cache_add(struct svga_screen *svgascreen,
                       const struct svga_host_surface_cache_key *key,
                       struct svga_winsys_surface **p_handle)
diff --git a/src/gallium/drivers/svga/svga_surface.c b/src/gallium/drivers/svga/svga_surface.c
index 6163120..85d0154 100644
--- a/src/gallium/drivers/svga/svga_surface.c
+++ b/src/gallium/drivers/svga/svga_surface.c
@@ -290,7 +290,7 @@ svga_surface_destroy(struct pipe_context *pipe,
 }
 
 
-static INLINE void 
+static void 
 svga_mark_surface_dirty(struct pipe_surface *surf)
 {
    struct svga_surface *s = svga_surface(surf);




More information about the mesa-commit mailing list