Hi Johan, > This flag just tells us whether hdev->adv_instances is empty or not. > We can equally well use the list_empty() function to get this > information. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > include/net/bluetooth/hci.h | 1 - > net/bluetooth/hci_request.c | 19 ++++++++----------- > net/bluetooth/mgmt.c | 8 +------- > 3 files changed, 9 insertions(+), 19 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html