[Mesa-dev] [PATCH 1/3] Remove useless checks for NULL before freeing

Brian Paul brianp at vmware.com
Mon Dec 8 12:43:14 PST 2014


On 12/08/2014 12:56 PM, Matt Turner wrote:
> See commits 5067506e and b6109de3 for the Coccinelle script.
> ---
>   src/gallium/auxiliary/util/u_debug_flush.c           | 12 ++++--------
>   src/gallium/drivers/i915/i915_state.c                | 10 ++++------
>   src/gallium/drivers/ilo/shader/toy_tgsi.c            |  6 ++----
>   src/gallium/drivers/nouveau/nv50/nv50_context.c      |  3 +--
>   src/gallium/drivers/nouveau/nv50/nv84_video.c        |  3 +--
>   src/gallium/drivers/nouveau/nvc0/nvc0_context.c      |  3 +--
>   src/gallium/drivers/nouveau/nvc0/nvc0_program.c      |  3 +--
>   src/gallium/drivers/nouveau/nvc0/nvc0_surface.c      |  3 +--
>   src/gallium/drivers/r600/r600_isa.c                  | 12 ++++--------
>   src/gallium/drivers/softpipe/sp_tile_cache.c         |  3 +--
>   src/gallium/state_trackers/hgl/hgl.c                 |  6 ++----
>   src/gallium/state_trackers/nine/nine_shader.c        |  6 ++----
>   src/gallium/state_trackers/nine/pixelshader9.c       |  3 +--
>   src/gallium/state_trackers/nine/stateblock9.c        |  8 ++++----
>   src/gallium/state_trackers/nine/swapchain9.c         |  2 +-
>   src/gallium/state_trackers/nine/vertexdeclaration9.c |  9 +++------
>   src/gallium/state_trackers/nine/vertexshader9.c      |  3 +--
>   src/gallium/winsys/svga/drm/vmw_screen_ioctl.c       |  6 ++----
>   src/mesa/drivers/dri/common/xmlconfig.c              |  3 +--
>   src/mesa/main/objectlabel.c                          |  7 ++-----
>   20 files changed, 39 insertions(+), 72 deletions(-)
>


For the series: Reviewed-by: Brian Paul <brianp at vmware.com>





More information about the mesa-dev mailing list