summaryrefslogtreecommitdiff
path: root/drivers/scsi/sd.h
diff options
context:
space:
mode:
authorWeongyo Jeong <weongyo.linux@gmail.com>2016-03-31 12:15:03 -0700
committerThomas Gleixner <tglx@linutronix.de>2016-06-10 17:07:50 +0200
commitff5b706f5189fe8d2a6fd576b491b769ec1d29d3 (patch)
treeb7361198a3786138d9eeab3bd25a80b5f77b2c17 /drivers/scsi/sd.h
parentfe3464ca8710012a247bb4586dde21b080f88514 (diff)
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: Weongyo Jeong <weongyo.linux@gmail.com> Link: http://lkml.kernel.org/r/1459451703-5744-1-git-send-email-weongyo.linux@gmail.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/scsi/sd.h')
0 files changed, 0 insertions, 0 deletions