Skip to content
Commit 3608c66c authored by Vivek Kutal's avatar Vivek Kutal Committed by Linus Torvalds
Browse files

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: default avatarVivek Kutal <vivek.kutal@azingo.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9990bfd0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment