gatt-db: remove redundant check in foreach range
authorYun-Hao Chung <howardchung@chromium.org>
Thu, 29 Jul 2021 03:36:00 +0000 (11:36 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:36 +0000 (19:08 +0530)
commit07af9e9de9e2dce4f7f6480cdb23da2ae9685ba5
treed1b1fbc4d1c19844017084686a9b2cabbe47a080
parent1a7efdafd74743f25b8dfa281b1854777cd6bd54
gatt-db: remove redundant check in foreach range

svc_start < foreach_data->end has already been checked in a few lines
before.

Reviewed-by: Archie Pusaka <apusaka@chromium.org>
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/shared/gatt-db.c