vmwgfx: remove useless set memory to zero use memset()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 27 Aug 2012 07:07:43 +0000 (07:07 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 13 Sep 2012 01:34:34 +0000 (11:34 +1000)
commit3a9950781cccc0a2c219c9369e585945f1de1c0f
tree62c96e431706a815fe06c7f91d90e35f47282c93
parentcd004b3f4cd4169815c82bf9e424fda06978898a
vmwgfx: remove useless set memory to zero use memset()

The memory return by kzalloc() or kmem_cache_zalloc() has already
be set to zero, so remove useless memset(0).

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c