From nobody Tue Feb 20 08:29:23 2024 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 4TfCHl6L22z5BdZZ; Tue, 20 Feb 2024 08:29:23 +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 4TfCHl5qmnz4Zm7; Tue, 20 Feb 2024 08:29:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708417763; 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=TXnfwHVGkciYtsvINkn10Yhvcv7uZjRxyOTZCu9oBa4=; b=S0JIPic3WnXKUfX9BNvIniC4+ADl+Q/HOhTKNr6HdwD/qcynoWa3yTn3zJAmxWvbz3/3cs SGiHoZHLtDX22VXNsFTK/NyIS97df1BzE5k6CtPaURJRQQxhpDdWcymY5AThlPcvGaQTd+ IJD/uN4UtGyRnLPkPLc2sdRQ1IgDpWvPdvARrqdJiOZBObwe2vYI5VDQYFBQmuc6eQxGzc BhaUEOL+RuUs23TA3C1r4N71zGHaZOLq0pvv18OAnwluA2ikE4isBs0fJx8voLtrsyYlGI eomd/N7vp6A3k13bRWD/XW+SLmJh46ncpYfyXz7xVRymxIPs11IVuqhkjHRELg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708417763; 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=TXnfwHVGkciYtsvINkn10Yhvcv7uZjRxyOTZCu9oBa4=; b=jIFwIm2dVYKlhjPSJOX+m0ReADdy9zoRr11Su/H/Hs7uxHUgYefCtgpDug9CiMfnevj6Sg Kcs9920qoMWKzQXxmxlAdMARbJktvIYi+CMAf5TdCaqBDNyLFHvDiVhqmVrp7PS+RuSIKJ gl7aGdLTFSv0cdz2sd78i8mSxxpb07sKyJCoB4q4YJLUDARoX46dEkgj1p4XmUqbaKl3UD S1CBctarf4CaUK/fHJ6k4tAX1ZAZvdaqTp5T+WYVORZ4sEml22MhL4itBrY4RLExkhQISp YI717hSIn6Lo1JwYegQuoDr1qKxV+40dh6v9y9Fy4KXL+I1GmXwguCFjWBiYXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708417763; a=rsa-sha256; cv=none; b=MFE3sYfhzIQcqSve2ovLCEaxK9LKeHxn4FCUlxAJG/ThxF21JDlPcwFMjclXvW739PRNhc w9FlUXruRD+1CXhxunXtUp9wUP8dIuU7+jn3kOY1a4YiF+c3z0Pl1ujEB5o3bqvkwSh3wf agI6nlQo5nX7xGULFXq7qB5Veg8S7dm2F7ctFyqw0ymEfT8jhBmrp02L0dUCA1wkkDH6dd cL4vxakgB2KQnDKOXD3ADEYLg/BVrsHPVLOQjdIGy2eTB42ca+IUIqrAubKzZpr6Ic1zsg DEf8vwVhS9pszdL8H/jgxQaOs1TvQR0TuzrNuRQFz6FVZe65itZmFZnbib8+iA== 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 4TfCHl4tXzz19kt; Tue, 20 Feb 2024 08:29:23 +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 41K8TN50081576; Tue, 20 Feb 2024 08:29:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41K8TNOU081573; Tue, 20 Feb 2024 08:29:23 GMT (envelope-from git) Date: Tue, 20 Feb 2024 08:29:23 GMT Message-Id: <202402200829.41K8TNOU081573@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Joseph Koshy Subject: git: 81dc3a4d3bb9 - main - tools/net80211/wlanwatch: Remove obsolete code. 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: jkoshy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 81dc3a4d3bb9fd0847530a3530f860e08a9b3ad3 Auto-Submitted: auto-generated The branch main has been updated by jkoshy: URL: https://cgit.FreeBSD.org/src/commit/?id=81dc3a4d3bb9fd0847530a3530f860e08a9b3ad3 commit 81dc3a4d3bb9fd0847530a3530f860e08a9b3ad3 Author: Joseph Koshy AuthorDate: 2024-02-19 16:46:45 +0000 Commit: Joseph Koshy CommitDate: 2024-02-20 08:27:30 +0000 tools/net80211/wlanwatch: Remove obsolete code. The symbol NI_WITHSCOPEID has not been defined by since May 2005 (since SVN r146690). --- tools/tools/net80211/wlanwatch/wlanwatch.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/tools/net80211/wlanwatch/wlanwatch.c b/tools/tools/net80211/wlanwatch/wlanwatch.c index def94454cfab..6e3bfd798c2d 100644 --- a/tools/tools/net80211/wlanwatch/wlanwatch.c +++ b/tools/tools/net80211/wlanwatch/wlanwatch.c @@ -193,9 +193,6 @@ routename(struct sockaddr *sa) { struct sockaddr_in6 sin6; /* use static var for safety */ int niflags = 0; -#ifdef NI_WITHSCOPEID - niflags = NI_WITHSCOPEID; -#endif memset(&sin6, 0, sizeof(sin6)); memcpy(&sin6, sa, sa->sa_len);