diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-08-26 13:57:21 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-08-26 13:57:21 +0000 |
commit | 986533a68e64451bc52e2472a3421afe0de771a3 (patch) | |
tree | 839b9b0243323c5a51e52f8ab7d6ef791d9db71e /sys/dev/ic | |
parent | 95e7ffb80137c876b1d930262148e643492f4866 (diff) |
Remove needless uses of SDEV_ONLYBIG. It was always set when SDEV_UMASS was set,
and was always checked in concert with SDEV_ATAPI. Just rely on SDEV_ATAPI and
SDEV_UMASS in all but the one place sd(4) where SDEV_ONLYBIG is set
independently of SDEV_ATAPI/_UMASS.
ok jmatthew@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/mpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index 76f63ee17ba..bc365c6de1f 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.221 2020/07/20 14:41:13 krw Exp $ */ +/* $OpenBSD: mpi.c,v 1.222 2020/08/26 13:57:19 krw Exp $ */ /* * Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org> @@ -1682,7 +1682,6 @@ mpi_scsi_probe(struct scsi_link *link) DNPRINTF(MPI_D_MISC, "%s: target %d is an ATAPI device\n", DEVNAME(sc), link->target); link->flags |= SDEV_ATAPI; - link->quirks |= SDEV_ONLYBIG; } return (0); |