DRM: Replace kmalloc/memset combos with kzalloc
authorDavidlohr Bueso <dave@gnu.org>
Wed, 11 Aug 2010 13:18:52 +0000 (09:18 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Aug 2010 23:12:30 +0000 (09:12 +1000)
Currently most, if not all, memory allocation in drm_bufs.c is followed by initializing the memory with 0.

Replace the use of kmalloc+memset with kzalloc.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found