From: Matthew Wilcox Date: Thu, 26 Jul 2007 15:58:12 +0000 (-0400) Subject: [SCSI] advansys: use memcpy instead of open-coded loop X-Git-Tag: v2.6.24-rc1~1290^2~170 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d68f4321357165346fb15ef41dbbf9dce7894f29;p=pandora-kernel.git [SCSI] advansys: use memcpy instead of open-coded loop Use memcpy to initialise eep_config instead of a loop. For AdvInitFrom38C1600EEP where we need to modify the default EEPROM configuration, do it after the loop, and do it using the structure definition, not by finding the right byte. I think it was wrong for big-endian machines. Also delete some non-useful comments and prototypes. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley --- Reading git-diff-tree failed