summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ata_generic.c
diff options
context:
space:
mode:
authorLevente Kurusa <levex@linux.com>2013-10-29 20:01:46 +0100
committerTejun Heo <tj@kernel.org>2013-11-22 23:21:10 +0100
commit462098b090897fbcf00088b225eb7a3adc407e98 (patch)
tree5eb3e3b5f30e0103f30b32e93ccdf3230089f4c4 /drivers/ata/ata_generic.c
parentLinux 3.13-rc1 (diff)
downloadlinux-462098b090897fbcf00088b225eb7a3adc407e98.tar.xz
linux-462098b090897fbcf00088b225eb7a3adc407e98.zip
ata: libata-eh: Remove unnecessary snprintf arithmetic
Remove an unnecessary arithmetic operation from a call to snprintf, because the size parameter of snprintf includes the trailing null space. Also, initialize the buffer on definition instead of a memset call. Signed-off-by: Levente Kurusa <levex@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/ata_generic.c')
0 files changed, 0 insertions, 0 deletions