From: Vivek Kutal Date: Tue, 16 Jun 2009 22:34:42 +0000 (-0700) Subject: fbdev: *bfin*: drop unnecessary calls to memset X-Git-Tag: v2.6.31-rc1~299^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3608c66c2e6522952b4be219317b194ab27f4e78;p=pandora-kernel.git fbdev: *bfin*: drop unnecessary calls to memset The dma_alloc_* functions sets the memory to 0 before returning so there is no need to call memset after the allocation. Also no point in clearing the memory when disabling the buffer. Signed-off-by: Vivek Kutal Signed-off-by: Mike Frysinger Cc: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed