From nobody Fri Dec 01 01:33:20 2023 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 4ShFv514n5z534bp; Fri, 1 Dec 2023 01:33:21 +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 4ShFv50YnCz4Vml; Fri, 1 Dec 2023 01:33:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701394401; 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=nt1vinS8wuKW3NAIObtCSOXXUF2iAN04mx9IAe2KaA4=; b=qRpTfqpT6Oh2oSpT3epbFLSqJxoIPZgfWFkXRBUD2B/l37bofXT+XPb5GzdNL6DXOY45V0 fY+j8I1n46/7MBXNQZ3yjZVSXoisA9NcknrWSl26AVfJ1c2JJZC95V3fjmKRctKlPR3YMQ brHfXAszj4xiaWYoUFArvQvjHtxGTgC5rvwVzkidcvglR/OFSPOaH5gIxfbpmh2mzaR6Z5 t9Fp23Duipgyn9xiVjB3+YEVj6ZPxjy4AuqhmHPrEfTRiU5PcwVuXXZLmJI1qKRM9/o2jo ei3wiAWdRaycyHV7cthIFOa1x6/tVMZ3ra1fFh8ehL91iuWBVVJbJYzkbv8PcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701394401; 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=nt1vinS8wuKW3NAIObtCSOXXUF2iAN04mx9IAe2KaA4=; b=CLSS0tmGmn15Ew47a3RNmiUA1P98JV54lnOiLudt3ULPzOCcLadD8sRUedcXEePKTDJ9pB vxrVZvsE5OEpZW0pfTrch6+Gld9VFb6q6lf6FT2wz7se4q0fPsoKW6ew5BbbdJ0RN8LSLb y2sGryh37w0cGatSsQ8FHxBaMhVfSFu/lmDU/erk6D/6xv5QeEyoZQXXAtyuZtjIFG7wht tp/VBd52NTs/E+g9D2GC990Q4cpEoJVOcS+uK6ZzI5N4HvLV1VYtYonLTT9RzGiZkyXQPa m747PlbWKpZuwYeYbth+h6BYR/A4+sqEyaWCPCay0/V8o5Idw12a5QOYsOymKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701394401; a=rsa-sha256; cv=none; b=P3ErPv+Z64Dt7Q0OE131jhJ/jSkCMxgj6aE14A26sW3k7n6ynFSHNOYo6lTPAaOAT4v/TL dEIIv4v7DvJ5EB3Xax8cOWDBCrdWFK7Kds85J0nwe/W6tw59xyuE4lL9qXAiyrp/lxsexh +7tdhVS0kQfkucGHzG8z84es/MUjWdmBWDnc57kcwYTjcTMTDenvFUHGxmyBxcuKffNQNa GmoZNbeJuDbEYQSCy5C7gj8NA7pFIZjNCXU3Ye8rnIKQx8bEftpwmezxPkeMNfdiTmZIwZ y9ohif2XUZUekDdpEOeIwEO1AgQ0pd+LD9YQgA47Du3IF9WEODA3TdxYEFZdJA== 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 4ShFv46kDZz1Cxf; Fri, 1 Dec 2023 01:33:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3B11XK4g057068; Fri, 1 Dec 2023 01:33:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3B11XKAK057065; Fri, 1 Dec 2023 01:33:20 GMT (envelope-from git) Date: Fri, 1 Dec 2023 01:33:20 GMT Message-Id: <202312010133.3B11XKAK057065@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: 54521a6fe672 - main - cam: Remove prototype for cam_sim_alloc_dev 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: 54521a6fe672d1c3ff79951bba71e6e3827b4d55 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=54521a6fe672d1c3ff79951bba71e6e3827b4d55 commit 54521a6fe672d1c3ff79951bba71e6e3827b4d55 Author: Warner Losh AuthorDate: 2023-12-01 01:17:30 +0000 Commit: Warner Losh CommitDate: 2023-12-01 01:32:39 +0000 cam: Remove prototype for cam_sim_alloc_dev The implementation was removed in dcd5dea96509, but the prototype was not. Correct that oversight. Fixes: dcd5dea96509 Sponsored by: Netflix --- sys/cam/cam_sim.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sys/cam/cam_sim.h b/sys/cam/cam_sim.h index 142409b918a4..d668b9b86c21 100644 --- a/sys/cam/cam_sim.h +++ b/sys/cam/cam_sim.h @@ -60,15 +60,6 @@ struct cam_sim * cam_sim_alloc(sim_action_func sim_action, int max_dev_transactions, int max_tagged_dev_transactions, struct cam_devq *queue); -struct cam_sim * cam_sim_alloc_dev(sim_action_func sim_action, - sim_poll_func sim_poll, - const char *sim_name, - void *softc, - device_t dev, - struct mtx *mtx, - int max_dev_transactions, - int max_tagged_dev_transactions, - struct cam_devq *queue); void cam_sim_free(struct cam_sim *sim, int free_devq); void cam_sim_hold(struct cam_sim *sim); void cam_sim_release(struct cam_sim *sim);