Skip to content

Commit

Permalink
Remove unused CHIP_DEVICE_INFO_PATH (#18890)
Browse files Browse the repository at this point in the history
* Remove unused CHIP_DEVICE_INFO_PATH

It has been removed by 30edacd.

* Remove all unused pre-processor defines
  • Loading branch information
agners authored and pull[bot] committed Jul 26, 2023
1 parent 563a06b commit 2055121
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions src/platform/Linux/CHIPLinuxStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@
#define LOCALSTATEDIR "/tmp"
#endif

#ifndef DEVICEINFODIR
#define DEVICEINFODIR "/tmp"
#endif

#define CHIP_DEFAULT_FACTORY_PATH \
FATCONFDIR "/" \
"chip_factory.ini"
Expand All @@ -61,9 +57,6 @@
#define CHIP_DEFAULT_DATA_PATH \
LOCALSTATEDIR "/" \
"chip_counters.ini"
#define CHIP_DEVICE_INFO_PATH \
DEVICEINFODIR "/" \
"chip_device_info.ini"

namespace chip {
namespace DeviceLayer {
Expand Down
7 changes: 0 additions & 7 deletions src/platform/webos/CHIPWebOSStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@
#define LOCALSTATEDIR "/tmp"
#endif

#ifndef DEVICEINFODIR
#define DEVICEINFODIR "/tmp"
#endif

#define CHIP_DEFAULT_FACTORY_PATH \
FATCONFDIR "/" \
"chip_factory.ini"
Expand All @@ -61,9 +57,6 @@
#define CHIP_DEFAULT_DATA_PATH \
LOCALSTATEDIR "/" \
"chip_counters.ini"
#define CHIP_DEVICE_INFO_PATH \
DEVICEINFODIR "/" \
"chip_device_info.ini"

namespace chip {
namespace DeviceLayer {
Expand Down

0 comments on commit 2055121

Please sign in to comment.