From nobody Sun Apr 30 06:57:53 2023 X-Original-To: dev-commits-src-all@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 4Q8HGn4Kk8z48s7M; Sun, 30 Apr 2023 06:57:53 +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 4Q8HGn3kBpz3McC; Sun, 30 Apr 2023 06:57:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682837873; 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=Tw4LJ1upylB6skDTNI84XPrWiL4++lKmnWpYCIl8d3s=; b=K50MMBl8IULIw6FTWL7gIAFfAo3rbx5DBfhv7uSzB5ktYXheZ++Wu1egvFfAQRR2qSF3qG 3LeYCSfDh6Ym+R3q1nVZhQH6lh6OCW4L5qMrU6veRPgmP7izxspJcdbHyQtalmjDF2REf8 wae7EFjY+XaRsmpIAtY0Cfx2d04ti9YY1QENSA6AI+Zo75ujTnGSUPei8ur47ZUiekqgn2 PID4nc0DXtD++/hXKMXcG7eK4MujkJLsfvWGx652XY3i7QMHh2ySzZvxhCyw6fj0WAXBuf NBwsGAJISsiymMuPxtk97Pl2T0c8Sy5LE5FIQNiKJugYt1HFFWrAOpHueVATLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682837873; 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=Tw4LJ1upylB6skDTNI84XPrWiL4++lKmnWpYCIl8d3s=; b=Ig3YkWcKHUFpUe936qWwcK3zmskngPbH0r2NxuK6RKbuQRT+sHBFKi4MbsaFbhlkiZYMg2 LhRl4Vnf9mQ7J5G4SRcTWu592IUpgGcBao7v+aV0sIg9TaMnGsBvll/dRDv6DolesUrvKy gHlQwDQ0ynyc1VUj6gexn9asKlY+Ip7ePm1jfPZU3l5dPsiGnjbR4g8B/6U21TUvQp/fdQ 1CDBu/AX55RlZIBcxLa9JomixWacRG2pt1NdwGEU0vOz6Wonbzfb62grpGVyip6Z86638H Kh0I8F28E4qpOaEKzhYPkltK6suxME4mFfj+EcSVnkTETtZOBpQaO3E4zXqSkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682837873; a=rsa-sha256; cv=none; b=r7uBCIpISx1b+dngXVGwdamc0oaSXvsXbyuHM3UIFZePNwwvQ7QXuBy/7+X3noQqIlH3AT 82P+sOC9hKJgZ2ryiHvB71K9NP6Nfnn08lOpk2/EKmfBIldc/3C/kVmKvF7NIFiP73ksDT x3LkCvNrzP1CHLXB11pq/+KQsx0om90Z751/QIowfVsV9I5+a6vaQkQJ6UYW0sWnY4RjAP 5nSQFis05D4yo6lwRK7bwOoifuqZ6LaFfyLCXWWag5eXJkyVxlX3TAoCUGNd2PNfyk84uW Uj9KxUaJzFW2lmij22IS3eo9/kDuxUGYFIOZPsYe7eiqCVlMNrk23/8ZDNf9eQ== 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 4Q8HGn2qrtzDg0; Sun, 30 Apr 2023 06:57: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 33U6vrol071537; Sun, 30 Apr 2023 06:57:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33U6vr7r071536; Sun, 30 Apr 2023 06:57:53 GMT (envelope-from git) Date: Sun, 30 Apr 2023 06:57:53 GMT Message-Id: <202304300657.33U6vr7r071536@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Hans Petter Selasky Subject: git: 417b350048f5 - stable/13 - wmt: purge EOL release compatibility List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 417b350048f5934870e5b7405873887bf9af7741 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=417b350048f5934870e5b7405873887bf9af7741 commit 417b350048f5934870e5b7405873887bf9af7741 Author: Elliott Mitchell AuthorDate: 2022-06-23 00:53:47 +0000 Commit: Hans Petter Selasky CommitDate: 2023-04-30 06:56:16 +0000 wmt: purge EOL release compatibility Remove FreeBSD 11 support Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/603 Differential Revision: https://reviews.freebsd.org/D35560 (cherry picked from commit 5fa183351459996cfb86f8621de1a0e1bf985d67) --- sys/dev/usb/input/wmt.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/sys/dev/usb/input/wmt.c b/sys/dev/usb/input/wmt.c index 661fa622433f..c7ca2e46599e 100644 --- a/sys/dev/usb/input/wmt.c +++ b/sys/dev/usb/input/wmt.c @@ -261,22 +261,12 @@ static device_probe_t wmt_probe; static device_attach_t wmt_attach; static device_detach_t wmt_detach; -#if __FreeBSD_version >= 1200077 static evdev_open_t wmt_ev_open; static evdev_close_t wmt_ev_close; -#else -static evdev_open_t wmt_ev_open_11; -static evdev_close_t wmt_ev_close_11; -#endif static const struct evdev_methods wmt_evdev_methods = { -#if __FreeBSD_version >= 1200077 .ev_open = &wmt_ev_open, .ev_close = &wmt_ev_close, -#else - .ev_open = &wmt_ev_open_11, - .ev_close = &wmt_ev_close_11, -#endif }; static const struct usb_config wmt_config[WMT_N_TRANSFER] = { @@ -719,7 +709,6 @@ wmt_ev_open_11(struct evdev_dev *evdev, void *ev_softc) return (0); } -#if __FreeBSD_version >= 1200077 static int wmt_ev_close(struct evdev_dev *evdev) { @@ -738,7 +727,6 @@ wmt_ev_open(struct evdev_dev *evdev) return (wmt_ev_open_11(evdev, sc)); } -#endif static enum wmt_type wmt_hid_parse(struct wmt_softc *sc, const void *d_ptr, uint16_t d_len)