Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Mar 2023 15:12:40 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: beb2af45bd1f - main - bluetooth/hccontrol: Remove useless return at the end of void function
Message-ID:  <202303021512.322FCeqo037882@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=beb2af45bd1f0966ea16967ba745083e7fcb42f5

commit beb2af45bd1f0966ea16967ba745083e7fcb42f5
Author:     Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-03-02 14:59:06 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-03-02 14:59:10 +0000

    bluetooth/hccontrol: Remove useless return at the end of void function
    
    Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/656
---
 usr.sbin/bluetooth/hccontrol/le.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/usr.sbin/bluetooth/hccontrol/le.c b/usr.sbin/bluetooth/hccontrol/le.c
index ba8809213c06..6f768619e9d3 100644
--- a/usr.sbin/bluetooth/hccontrol/le.c
+++ b/usr.sbin/bluetooth/hccontrol/le.c
@@ -1086,7 +1086,6 @@ static void handle_le_connection_event(ng_hci_event_pkt_t* e, bool verbose)
 					conn_event->master_clock_accuracy));
 		}
 	}
-	return;
 }
 
 static int
@@ -1208,8 +1207,6 @@ static void handle_le_remote_features_event(ng_hci_event_pkt_t* e)
 			hci_le_features2str(feat_event->features,
 				buffer, sizeof(buffer)));
 	}
-
-	return;
 } /* handle_le_remote_features_event */
 
 static int le_rand(int s, int argc, char *argv[])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303021512.322FCeqo037882>