From: Akinobu Mita Date: Sat, 29 Jun 2013 08:59:19 +0000 (+0900) Subject: [SCSI] scsi_debug: reduce duplication between prot_verify_read and prot_verify_write X-Git-Tag: v3.11-rc1~6^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beb40ea42bd65511bc275a7d58d3753835906be5;p=pandora-kernel.git [SCSI] scsi_debug: reduce duplication between prot_verify_read and prot_verify_write In order to reduce code duplication between prot_verify_read() and prot_verify_write(), this moves common code into the new functions. [jejb: fix unitialised variable warning] Signed-off-by: Akinobu Mita Acked-by: Douglas Gilbert Acked-by: "Martin K. Petersen" Signed-off-by: James Bottomley --- Reading git-diff-tree failed