Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ff5b706f authored by Weongyo Jeong's avatar Weongyo Jeong Committed by Thomas Gleixner
Browse files

genirq: Remove unnecessary memset() calls



sprintf() and snprintf() implementation of kernel guarantees that
its result is terminated with null byte if size is larger than 0. So we
don't need to call memset() at all.

Signed-off-by: default avatarWeongyo Jeong <weongyo.linux@gmail.com>
Link: http://lkml.kernel.org/r/1459451703-5744-1-git-send-email-weongyo.linux@gmail.com


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent fe3464ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment