aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ata/ata-raid.c
diff options
context:
space:
mode:
authorSøren Schmidt <sos@FreeBSD.org>2004-06-30 09:22:47 +0000
committerSøren Schmidt <sos@FreeBSD.org>2004-06-30 09:22:47 +0000
commit3e3807252bb450e38d2006a230198c38984f3fd7 (patch)
treec22bda1ffa4517f48b8ac6969e48ec76eef53f96 /sys/dev/ata/ata-raid.c
parent476e01e0ccf0ccbdfd23af27a86971f78453f622 (diff)
Notes
Diffstat (limited to 'sys/dev/ata/ata-raid.c')
-rw-r--r--sys/dev/ata/ata-raid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c
index df28fdd7c16f..71979e944399 100644
--- a/sys/dev/ata/ata-raid.c
+++ b/sys/dev/ata/ata-raid.c
@@ -1358,14 +1358,14 @@ ar_lsi_read_conf(struct ad_softc *adp, struct ar_softc **raidp)
if (ar_rw(adp, LSI_LBA(adp), sizeof(struct lsi_raid_conf),
(caddr_t)info, AR_READ | AR_WAIT)) {
- if (1 || bootverbose)
+ if (bootverbose)
printf("ar: LSI read conf failed\n");
goto lsi_out;
}
/* check if this is a LSI RAID struct */
if (strncmp(info->lsi_id, LSI_MAGIC, strlen(LSI_MAGIC))) {
- if (1 || bootverbose)
+ if (bootverbose)
printf("ar: LSI check1 failed\n");
goto lsi_out;
}