git: beb2af45bd1f - main - bluetooth/hccontrol: Remove useless return at the end of void function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Mar 2023 15:12:40 UTC
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[])