Thread (21 messages) read the whole thread 21 messages, 5 authors, 2026-02-26
STALE156d

[PATCH BlueZ 07/12] tools: btgatt-server: remove unused member 'fd'

From: Christian Eggers <ceggers@arri.de>
Date: 2026-02-25 16:19:10
Subsystem: the rest · Maintainer: Linus Torvalds

---
 tools/btgatt-server.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/tools/btgatt-server.c b/tools/btgatt-server.c
index 1690b0dd059f..449c342031a5 100644
--- a/tools/btgatt-server.c
+++ b/tools/btgatt-server.c
@@ -66,7 +66,6 @@ static const char test_device_name[] = "Very Long Test Device Name For Testing "
 static bool verbose = false;
 
 struct server {
-	int fd;
 	struct bt_att *att;
 	struct gatt_db *db;
 	struct bt_gatt_server *gatt;
@@ -570,7 +569,6 @@ static struct server *server_create(int fd, uint16_t mtu, bool hr_visible)
 	memcpy(server->device_name, test_device_name, name_len);
 	server->device_name[name_len] = '\0';
 
-	server->fd = fd;
 	server->db = gatt_db_new();
 	if (!server->db) {
 		fprintf(stderr, "Failed to create GATT database\n");
-- 
2.51.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help