git: cbe9faa50b19 - main - Remove DS_BUSY case
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Nov 2021 23:51:53 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=cbe9faa50b198a6a97416893a7e17090131341ff commit cbe9faa50b198a6a97416893a7e17090131341ff Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2021-11-30 23:35:48 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2021-11-30 23:35:48 +0000 Remove DS_BUSY case DS_BUSY is no longer a device state. Remove it from here. Sponsored by: Netflix --- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c index a360898e6785..70d2cf6998ee 100644 --- a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c +++ b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c @@ -356,7 +356,6 @@ device_get_status(struct devinfo_dev *dev) case DS_NOTPRESENT: /* not probed or probe failed */ return (DS_DOWN); case DS_ATTACHED: /* attach method called */ - case DS_BUSY: /* device is open */ return (DS_RUNNING); default: return (DS_UNKNOWN);