From nobody Mon May 9 17:55:06 2022 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 607F51AD8B11; Mon, 9 May 2022 17:55:08 +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 4KxpjR1hSYz4sTD; Mon, 9 May 2022 17:55:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652118907; 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=ECXqud8EfNH3Zh35EiZ971DZbOajufrMpWpHRhGpB7Q=; b=N0/tgK3nvOjwJ+R6yUx3TTG81ggHd9Ypqzz2e3kJI/stCN3LL8pAhZji9VKSUwpe/lfVdR qHnhZpvDnmBdyqAuyohPM3F0EUiU8cPRXXdV6ZMYDYp97hBO15I4SiGthD/0fi43XF+qvd +7LCsF6p33RRe/1JP1binY0LiJJ3xLX25y2awyQFYfM5iMLLUFV1hUK2c9kE2Pn8hxcCuZ J68Hol9olsI2b6ykOMZ1/DnMxj12ACEonFEdAGO7r4QG7XKRmt9bDcqTnsa964JcuFX7dC sJS4K14j7hVNIDWfAh/TNkzqX80VAeoIogkGTM30UhzoLrXcWSkYKwVgEIePog== 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 CFD3215A8C; Mon, 9 May 2022 17:55:06 +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 249Ht6Al061100; Mon, 9 May 2022 17:55:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249Ht6v1061099; Mon, 9 May 2022 17:55:06 GMT (envelope-from git) Date: Mon, 9 May 2022 17:55:06 GMT Message-Id: <202205091755.249Ht6v1061099@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 7496792841b9 - main - ng_socket: don't assign NULL in C99 sparse initializer 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: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7496792841b9528ed4160c1972449bfb1486bc41 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652118907; 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=ECXqud8EfNH3Zh35EiZ971DZbOajufrMpWpHRhGpB7Q=; b=n3ZKUYJJUZLAWhrFVsdcOI15tZICcRG+VRj8Al7AUCQR33UVI/Q16QcVA6M3ZXlNY6hm7g 3uk7Mulwrgp2mrzGxdlTN7GVk4nDdqxMNx1fMs2SpG71u5xCJrn8pHxbZMoWrTdPdd9wOq irF7OuNeTnjiIJKaV3cvRPU8rIJ/cZQK5bJc+yVLzp12eH+9FmdhO8oX97i1u/Z75Ot9gv 0zkTksgHKsxwmz59qC9ccjaOVDsQEQU2Y6UHWvr3V30GlyHazRfaMx7I+omoiXlyb5RxJp 2o6STH3Isn7WRk0O+LplOBeAQ2y711OFy0gq7J3vECgBlv5s982qDPU8P4T8ow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652118907; a=rsa-sha256; cv=none; b=Pv/J8KoPT2HUm9xcWxKpxai+T17/Haaij+wbU6LS2IYo/mJ+z8WNDp0sNHvS+E4jWmj5d/ HJBLrr5cPLXj9Rt3t0O16PRBzjgPHiKMUyP/VzdxWUFBvhGk8O220rfATusdGg8BaYrA2S vPqPW0xpQgAMS9RGV/hmWSDfpppEuhEYBiKNfvrDI1NIIt9xME8rne6CVaCei+7VJVZDzR mI7BhiDNXvdfA2Hdw4KgkV0IhwzkXV0CxF88583/lpoZrb0dOw7C5N1V0IC5AeYk6pGXTV V9ewY/iKRlo1eOjSh5uKqtzABGbcLH3+VsL0JKpG6ZeUqh5P+vCP7iQEH1bMyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=7496792841b9528ed4160c1972449bfb1486bc41 commit 7496792841b9528ed4160c1972449bfb1486bc41 Author: Gleb Smirnoff AuthorDate: 2022-05-09 17:42:48 +0000 Commit: Gleb Smirnoff CommitDate: 2022-05-09 17:42:48 +0000 ng_socket: don't assign NULL in C99 sparse initializer --- sys/netgraph/ng_socket.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c index d8a7d2f3701f..a7a70b0c35a6 100644 --- a/sys/netgraph/ng_socket.c +++ b/sys/netgraph/ng_socket.c @@ -1135,31 +1135,22 @@ dummy_disconnect(struct socket *so) */ static struct pr_usrreqs ngc_usrreqs = { - .pru_abort = NULL, .pru_attach = ngc_attach, .pru_bind = ngc_bind, .pru_connect = ngc_connect, .pru_detach = ngc_detach, .pru_disconnect = dummy_disconnect, - .pru_peeraddr = NULL, .pru_send = ngc_send, - .pru_shutdown = NULL, .pru_sockaddr = ng_getsockaddr, - .pru_close = NULL, }; static struct pr_usrreqs ngd_usrreqs = { - .pru_abort = NULL, .pru_attach = ngd_attach, - .pru_bind = NULL, .pru_connect = ngd_connect, .pru_detach = ngd_detach, .pru_disconnect = dummy_disconnect, - .pru_peeraddr = NULL, .pru_send = ngd_send, - .pru_shutdown = NULL, .pru_sockaddr = ng_getsockaddr, - .pru_close = NULL, }; /*