From: Levente Kurusa Date: Tue, 29 Oct 2013 19:01:46 +0000 (+0100) Subject: ata: libata-eh: Remove unnecessary snprintf arithmetic X-Git-Tag: v3.14-rc1~135^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=462098b090897fbcf00088b225eb7a3adc407e98;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo --- Reading git-diff-tree failed