profiles/network: Make get_service_id connections private method

System Internals / BlueZ - Grzegorz Kolodziejczyk [tieto.com] - 9 March 2015 10:12 UTC

get_service_id method is used only within connection code to get id (16 bit value) of received string format 128bit uuid or service named e.g. panu, gn or nap. There is no need to make it public as bnep.c only related code.

be130b5 profiles/network: Make get_service_id connections private method
profiles/network/bnep.c | 25 -------------------------
profiles/network/bnep.h | 1 -
profiles/network/connection.c | 20 ++++++++++++++------
3 files changed, 14 insertions(+), 32 deletions(-)

Upstream: git.kernel.org


  • Share