From nobody Tue Nov 30 23:51:53 2021 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 86D3A18B155C; Tue, 30 Nov 2021 23:51:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J3fBy0PQvz3H2r; Tue, 30 Nov 2021 23:51:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E2FFA1F6D1; Tue, 30 Nov 2021 23:51:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AUNprDO041551; Tue, 30 Nov 2021 23:51:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AUNprTg041550; Tue, 30 Nov 2021 23:51:53 GMT (envelope-from git) Date: Tue, 30 Nov 2021 23:51:53 GMT Message-Id: <202111302351.1AUNprTg041550@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: cbe9faa50b19 - main - Remove DS_BUSY case List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cbe9faa50b198a6a97416893a7e17090131341ff Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638316314; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PRqY0FRCgHtdBJ2YQgptrjMdXcascOrJXZJaMQLyxTU=; b=Mkq1gY+P9ZTQQ/fCxwquYK00FvidBFUxGKkJOvTgZ4CvlcIR7ObsvIBoIBMkOa94147pRc 7LXhqFo+054rUkSjk84UOFqjWfELcYlUY+HPMtTIE4TZWKCuLed8tdGbyZ5SagDocUf6x4 3FynPvI9Yz/T01L+QWKMoW5i7W+pIq4Uab2AbcroH79rbpgEcwi9jYpRuApfwAazFNoy57 deZhSNdv9GMqpcj2NTCPWBiSxgqZBWU/FwLSZmWsUNM/4xjLzKqZoyLfZ/dn4Yqj/Ou7Dm R6an4giRrgJLhfHPXdUV1IwdLAPZtcWDeyoKf6oTFafacAq51E+vGUcTeqt4jQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638316314; a=rsa-sha256; cv=none; b=EoYhx0ep3TTUu4SxOSrQUkgQlb0DJtPDHuJxrGCApghl5pwAplJrwjgw47AKXHO2XYNJFp H9ARcutjyEMMY8Cz/MvzqKlC4qATkaC8OAcBfgqaA7NYOdtovW/sbe6t+8ZYjrywg8+MYZ MrUh3IiwugC3j89/yVLo9yXf1S4on+JdAKK0kYaOoGiRk4XvyjQe5TpHcEpUQOpOXIFnUd 9Ro9NAVb9Dz+fYzmzPhjCmYQZx/NGyWQV2efIcZk3rJvv9fy+fAk7SjtRD+frLoFxstd1T ODk34CbAbriiTLASBL+xgmgKysi5bJjI7hJpfTNXUHaevzGRTglDDZzDBhd1Zw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=cbe9faa50b198a6a97416893a7e17090131341ff commit cbe9faa50b198a6a97416893a7e17090131341ff Author: Warner Losh AuthorDate: 2021-11-30 23:35:48 +0000 Commit: Warner Losh 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);