dpt(4): Remove duplicate bit in an | operation.
authorSascha Wildner <saw@online.de>
Tue, 6 Dec 2011 07:46:32 +0000 (08:46 +0100)
committerSascha Wildner <saw@online.de>
Tue, 6 Dec 2011 07:46:32 +0000 (08:46 +0100)
sys/dev/raid/dpt/dpt_scsi.c

index 63a7056..c11d217 100644 (file)
@@ -1000,7 +1000,6 @@ dpt_action(struct cam_sim *sim, union ccb *ccb)
 
                        spi->valid = CTS_SPI_VALID_SYNC_RATE
                                | CTS_SPI_VALID_SYNC_OFFSET
-                               | CTS_SPI_VALID_SYNC_RATE
                                | CTS_SPI_VALID_BUS_WIDTH
                                | CTS_SPI_VALID_DISC;
                        scsi->valid = CTS_SCSI_VALID_TQ;