From: Benjamin Li Date: Mon, 26 Feb 2007 19:06:32 +0000 (-0800) Subject: qla3xxx: Remove unnecessary memset() in qla3xxx_send() X-Git-Tag: v2.6.21-rc2~3^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2d76b8db4e681944801870f81b859c5bf9964cf;p=pandora-kernel.git qla3xxx: Remove unnecessary memset() in qla3xxx_send() We do not need to zero out the 64 byte MAC request I/O control block. By zeroing out the control block and setting it to proper fields is redundant work. This is because in the qla3xxx_send() function we will already set the proper fields in this structure. The unused fields are not looked at by the hardware and do not need to be zeroed out. Signed-off-by: Benjamin Li Signed-off-by: Ron Mercer Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed