Skip to content

Commit 1133ff3

Browse files
adigieArekBalysNordic
authored andcommitted
samples: matter: Remove unused includes
Remove ota_util.h. Signed-off-by: Adrian Gielniewski <[email protected]>
1 parent f5c6c05 commit 1133ff3

File tree

9 files changed

+0
-36
lines changed

9 files changed

+0
-36
lines changed

applications/matter_bridge/src/app_task.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@
2222
#include "bridge/ble_connectivity_manager.h"
2323
#endif
2424

25-
#ifdef CONFIG_CHIP_OTA_REQUESTOR
26-
#include "dfu/ota/ota_util.h"
27-
#endif /* CONFIG_BRIDGED_DEVICE_BT */
28-
2925
#include <app-common/zap-generated/attributes/Accessors.h>
3026
#include <app-common/zap-generated/ids/Attributes.h>
3127
#include <app-common/zap-generated/ids/Clusters.h>

applications/matter_weather_station/src/app_task.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
#include "board/board.h"
1515
#include "board/led_widget.h"
1616

17-
#ifdef CONFIG_CHIP_OTA_REQUESTOR
18-
#include "dfu/ota/ota_util.h"
19-
#endif
20-
2117
#ifdef CONFIG_MCUMGR_TRANSPORT_BT
2218
#include "dfu/smp/dfu_over_smp.h"
2319
#endif

samples/matter/light_bulb/src/app_task.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
#include "pwm/pwm_device.h"
1818
#endif
1919

20-
#ifdef CONFIG_CHIP_OTA_REQUESTOR
21-
#include "dfu/ota/ota_util.h"
22-
#endif
23-
2420
#include <app-common/zap-generated/attributes/Accessors.h>
2521
#include <app/DeferredAttributePersistenceProvider.h>
2622
#include <app/clusters/identify-server/identify-server.h>

samples/matter/light_switch/src/app_task.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
#include "app/task_executor.h"
1313
#include "board/board.h"
1414

15-
#ifdef CONFIG_CHIP_OTA_REQUESTOR
16-
#include "dfu/ota/ota_util.h"
17-
#endif
18-
1915
#include <app/clusters/identify-server/identify-server.h>
2016
#include <app/server/OnboardingCodesUtil.h>
2117

samples/matter/lock/src/app_task.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
#include "bt_nus/bt_nus_service.h"
2020
#endif
2121

22-
#ifdef CONFIG_CHIP_OTA_REQUESTOR
23-
#include "dfu/ota/ota_util.h"
24-
#endif
25-
2622
#include <app-common/zap-generated/attributes/Accessors.h>
2723
#include <app/clusters/door-lock-server/door-lock-server.h>
2824
#include <app/clusters/identify-server/identify-server.h>

samples/matter/smoke_co_alarm/src/app_task.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
#include "lib/core/CHIPError.h"
1313
#include "lib/support/CodeUtils.h"
1414

15-
#ifdef CONFIG_CHIP_OTA_REQUESTOR
16-
#include "dfu/ota/ota_util.h"
17-
#endif
18-
1915
#include <app-common/zap-generated/attributes/Accessors.h>
2016
#include <app/clusters/identify-server/identify-server.h>
2117
#include <app/clusters/smoke-co-alarm-server/SmokeCOTestEventTriggerHandler.h>

samples/matter/template/src/app_task.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
#include "lib/core/CHIPError.h"
1313
#include "lib/support/CodeUtils.h"
1414

15-
#ifdef CONFIG_CHIP_OTA_REQUESTOR
16-
#include "dfu/ota/ota_util.h"
17-
#endif
18-
1915
#include <app/server/OnboardingCodesUtil.h>
2016

2117
#include <zephyr/logging/log.h>

samples/matter/thermostat/src/app_task.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
#include "app/matter_init.h"
1313
#include "app/task_executor.h"
1414

15-
#ifdef CONFIG_CHIP_OTA_REQUESTOR
16-
#include "dfu/ota/ota_util.h"
17-
#endif
18-
1915
#include <app-common/zap-generated/attributes/Accessors.h>
2016
#include <app/clusters/identify-server/identify-server.h>
2117
#include <app/server/OnboardingCodesUtil.h>

samples/matter/window_covering/src/app_task.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
#include "app/matter_init.h"
1212
#include "app/task_executor.h"
1313

14-
#ifdef CONFIG_CHIP_OTA_REQUESTOR
15-
#include "dfu/ota/ota_util.h"
16-
#endif
17-
1814
#include <app/clusters/identify-server/identify-server.h>
1915
#include <app/server/OnboardingCodesUtil.h>
2016

0 commit comments

Comments
 (0)