Commit 40ea94a5d41148cd6b19fe4b9c47e17bb9dfeac1
1 parent
4761a48b
Suppress a GCC warning about unused function
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5534 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
vl.c
@@ -5361,6 +5361,7 @@ void do_info_network(void) | @@ -5361,6 +5361,7 @@ void do_info_network(void) | ||
5361 | static int nb_hcis; | 5361 | static int nb_hcis; |
5362 | static int cur_hci; | 5362 | static int cur_hci; |
5363 | static struct HCIInfo *hci_table[MAX_NICS]; | 5363 | static struct HCIInfo *hci_table[MAX_NICS]; |
5364 | +#if 0 | ||
5364 | static struct bt_vlan_s { | 5365 | static struct bt_vlan_s { |
5365 | struct bt_scatternet_s net; | 5366 | struct bt_scatternet_s net; |
5366 | int id; | 5367 | int id; |
@@ -5383,6 +5384,7 @@ static struct bt_scatternet_s *qemu_find_bt_vlan(int id) | @@ -5383,6 +5384,7 @@ static struct bt_scatternet_s *qemu_find_bt_vlan(int id) | ||
5383 | *pvlan = vlan; | 5384 | *pvlan = vlan; |
5384 | return &vlan->net; | 5385 | return &vlan->net; |
5385 | } | 5386 | } |
5387 | +#endif | ||
5386 | 5388 | ||
5387 | static void null_hci_send(struct HCIInfo *hci, const uint8_t *data, int len) | 5389 | static void null_hci_send(struct HCIInfo *hci, const uint8_t *data, int len) |
5388 | { | 5390 | { |