From nobody Mon May 09 17:55:05 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 374F41AD8A93; Mon, 9 May 2022 17:55:06 +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 4KxpjP6wZPz4sT9; Mon, 9 May 2022 17:55:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652118906; 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=/aFas7H8cIWjx74nJIoGLZr6UkeSMSyW/J3JBYQcJuw=; b=wSB7cXRQGAUTFFxW0U5HiJgfTTv4gDMaULvWAlRff2r5RPqKdecbSw7AZn08v0iuMceQMa zcXXWO2659akZJdq4zePCOYZIkb3Z751iZs10/1uMXswMV32rtrImgWiGXpnyDdeWgRIAZ iNHTtMpJpEwyAc9sC92VmqJcr6yfTnEknkURohvr8lCC4stLvx5I7tBNvz6lxz4Mne8GGk GZ9chZywy89I2ZpCaKhW2AnLvjEQ4ZvXqUtUUCCK7gtohTvorW7syOqyEv3ALSq61SNSVP LMtznIoDDRgvEePeROggaKg/MXrWihKl7i39s6S4LAPJynrfdSAikdd5aCQTjw== 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 BEF5815B85; Mon, 9 May 2022 17:55:05 +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 249Ht5Fq061076; Mon, 9 May 2022 17:55:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249Ht5ib061075; Mon, 9 May 2022 17:55:05 GMT (envelope-from git) Date: Mon, 9 May 2022 17:55:05 GMT Message-Id: <202205091755.249Ht5ib061075@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: 607beb88af0c - main - bluetooth: 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: 607beb88af0c83b2dd559fd3d683fc4a605ea549 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652118906; 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=/aFas7H8cIWjx74nJIoGLZr6UkeSMSyW/J3JBYQcJuw=; b=nLAx74jYdsTSX/pNK23J3PdVmRPCMcSfnd7QqxK3gdscX7+yqbGqkGnr5IQxKqFJpY2XoY KLw4/98fLrldtesGQBkdinxxB1GMr4NNQYVrr1rr3FcnaUG3AtYJFqtIdSxnx+Az9FchtD kX5Fxrjep47IJR7ryKdeJ9z+RHGmlxvp5FeOx59pQIZGhhzydfncDrBXilQNXUodZDv1/6 HnM9WOqenjVqKb1Xr2pwOu7XSfkJKLDYC8E3l6Z1GbPV2VvJ12xuY+PFi2sT9lqJNvpc4R 8LyrDSieJQA5u9o/KaZjlUWjfUl1OMKD8QFVMS1tGGH5ABhJi0AglgPpjURJnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652118906; a=rsa-sha256; cv=none; b=pC/m3PxPY6J8J4PxGxyLaoFY/l/zWQkkMJgcW9nwO9QV/Il6BK6ph4Yw9MB8WGfUs2LW1L as50hij/ksmUhrT+VtxZaBp4ogN4nOyyFavjAcO7ndhEE8X6lb9ULB+WlFL9/qTiH9Jfu3 FvZlpxIAF5+W5sOMzZPRIshn9ubPAfJrJvOqYwKRENRCKekdyXQoD4P6v2H0E7B2yfw+Qw YcaEzcQQ6oNYXaXtTzy1NxrO2xihReueOQGxUA1AX8bgEoPt84VXvddNxBPKKD1kURKb5y Y+UCzXCQPV2FqICCCOgFhfIvvh6yh+OZrfsoJewfqDQ9tPwbpa4vGzB/c/drQQ== 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=607beb88af0c83b2dd559fd3d683fc4a605ea549 commit 607beb88af0c83b2dd559fd3d683fc4a605ea549 Author: Gleb Smirnoff AuthorDate: 2022-05-09 17:42:48 +0000 Commit: Gleb Smirnoff CommitDate: 2022-05-09 17:42:48 +0000 bluetooth: don't assign NULL in C99 sparse initializer --- sys/netgraph/bluetooth/socket/ng_btsocket.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/netgraph/bluetooth/socket/ng_btsocket.c b/sys/netgraph/bluetooth/socket/ng_btsocket.c index 416f07a670c6..1ea3b1f649b3 100644 --- a/sys/netgraph/bluetooth/socket/ng_btsocket.c +++ b/sys/netgraph/bluetooth/socket/ng_btsocket.c @@ -78,7 +78,6 @@ static struct pr_usrreqs ng_btsocket_hci_raw_usrreqs = { .pru_disconnect = ng_btsocket_hci_raw_disconnect, .pru_peeraddr = ng_btsocket_hci_raw_peeraddr, .pru_send = ng_btsocket_hci_raw_send, - .pru_shutdown = NULL, .pru_sockaddr = ng_btsocket_hci_raw_sockaddr, .pru_close = ng_btsocket_hci_raw_close, }; @@ -97,7 +96,6 @@ static struct pr_usrreqs ng_btsocket_l2cap_raw_usrreqs = { .pru_disconnect = ng_btsocket_l2cap_raw_disconnect, .pru_peeraddr = ng_btsocket_l2cap_raw_peeraddr, .pru_send = ng_btsocket_l2cap_raw_send, - .pru_shutdown = NULL, .pru_sockaddr = ng_btsocket_l2cap_raw_sockaddr, .pru_close = ng_btsocket_l2cap_raw_close, }; @@ -118,7 +116,6 @@ static struct pr_usrreqs ng_btsocket_l2cap_usrreqs = { .pru_listen = ng_btsocket_l2cap_listen, .pru_peeraddr = ng_btsocket_l2cap_peeraddr, .pru_send = ng_btsocket_l2cap_send, - .pru_shutdown = NULL, .pru_sockaddr = ng_btsocket_l2cap_sockaddr, .pru_close = ng_btsocket_l2cap_close, }; @@ -139,7 +136,6 @@ static struct pr_usrreqs ng_btsocket_rfcomm_usrreqs = { .pru_listen = ng_btsocket_rfcomm_listen, .pru_peeraddr = ng_btsocket_rfcomm_peeraddr, .pru_send = ng_btsocket_rfcomm_send, - .pru_shutdown = NULL, .pru_sockaddr = ng_btsocket_rfcomm_sockaddr, .pru_close = ng_btsocket_rfcomm_close, }; @@ -160,7 +156,6 @@ static struct pr_usrreqs ng_btsocket_sco_usrreqs = { .pru_listen = ng_btsocket_sco_listen, .pru_peeraddr = ng_btsocket_sco_peeraddr, .pru_send = ng_btsocket_sco_send, - .pru_shutdown = NULL, .pru_sockaddr = ng_btsocket_sco_sockaddr, .pru_close = ng_btsocket_sco_close, };