From de47a40fa0eddd1bca5f4e45f12b97cfc616ac4c Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Tue, 26 Mar 2013 21:35:26 +0000 Subject: [PATCH] Cleanup git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4817 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/scst/include/scst.h b/scst/include/scst.h index 8d5c81eaa..d4fea0baa 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -2334,8 +2334,8 @@ struct scst_device { /************************************************************* ** Dev's control mode page related values. Updates serialized - ** by scst_block_dev(). Modified independently to the above and - ** below fields, hence the alignment. + ** by scst_block_dev(). Modified independently to the above + ** fields, hence the alignment. *************************************************************/ unsigned int queue_alg:4 __aligned(sizeof(long)); @@ -2380,12 +2380,7 @@ struct scst_device { /* Corresponding real SCSI device, could be NULL for virtual devices */ struct scsi_device *scsi_dev; - /* - * Device lock. Modified independently to the above fields, hence - * the alignment. Gcc reported to have a long standing bug, when - * it uses 64-bit memory accesses for int bit fields, so this - * alignment must be here to workaroud it. - */ + /* Device lock */ spinlock_t dev_lock ____cacheline_aligned_in_smp; #ifdef CONFIG_SCST_PER_DEVICE_CMD_COUNT_LIMIT