Refactoring of Code to improve SAM score Patch-5 60/280560/2
authorAnuj Jain <anuj01.jain@samsung.com>
Wed, 31 Aug 2022 16:34:35 +0000 (22:04 +0530)
committerAnuj Jain <anuj01.jain@samsung.com>
Fri, 2 Sep 2022 12:51:48 +0000 (18:21 +0530)
commit380f1984310b2372aa337baa237b3eb0e4501a65
tree0472aa54def57103cc8f03eda21b900e4da5b4a3
parentbc23d7c17fe508adfc288a87c6edd73ba208a8ec
Refactoring of Code to improve SAM score Patch-5

Remove Duplicate code:

- Move duplicate functions to common accessible file.
- Implement new function in common file for duplicate code segment.

Change-Id: Id2e205e587a21e195aba7474b9165f8ac36b06b7
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
bt-api/bt-common.c
bt-api/bt-l2cap-le-client.c
bt-api/bt-rfcomm-client.c
bt-api/include/bt-common.h