Re: [PATCH 1/7] adapter: Convert adapter_get_address into simple getter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Szymon,

On Fri, Oct 05, 2012, Szymon Janc wrote:
> Most uses of adapter_get_address were in form of:
> 
> bdaddr_t addr;
> adapter_get_address(adapter, &addr);
> foo(&addr);
> 
> Changing it to getter makes code simpler and avoid number of not
> needed memcpy.
> 
> ---
>  attrib/client.c              |    2 +-
>  audio/manager.c              |   48 +++++---------
>  plugins/adaptername.c        |    4 +-
>  plugins/dbusoob.c            |    8 +--
>  plugins/neard.c              |   16 ++---
>  plugins/service.c            |   57 ++++++-----------
>  plugins/wiimote.c            |    5 +-
>  profiles/alert/server.c      |    4 +-
>  profiles/gatt/gas.c          |   16 ++---
>  profiles/health/hdp.c        |   14 ++---
>  profiles/health/hdp_util.c   |   24 ++++---
>  profiles/input/device.c      |    2 +-
>  profiles/input/manager.c     |   11 +---
>  profiles/network/manager.c   |   10 +--
>  profiles/network/server.c    |    8 +--
>  profiles/proximity/monitor.c |   13 ++--
>  profiles/sap/manager.c       |    5 +-
>  src/adapter.c                |   13 ++--
>  src/adapter.h                |    2 +-
>  src/attrib-server.c          |   18 +++---
>  src/device.c                 |  143 +++++++++++++++++-------------------------
>  src/manager.c                |    5 +-
>  src/profile.c                |   28 ++++-----
>  23 files changed, 179 insertions(+), 277 deletions(-)

All patches have been applied. Thanks.

Johan
--
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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux