Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 107af98d authored by Henri Chataing's avatar Henri Chataing
Browse files

system/gd/os: Deprecate ASSERT_LOG

Test: m com.android.btservices
Bug: 305066880
Flag: EXEMPT, mechanical refactor
Change-Id: Ibd8ac2a2eb6606f9dc8b4ce935af0b989490b01e
parent 505b6435
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -145,10 +145,3 @@ static_assert(LOG_TAG != nullptr, "LOG_TAG should never be NULL");
      LOG_ALWAYS_FATAL("assertion '" #condition "' failed"); \
    }                                                        \
  } while (false)

#define ASSERT_LOG(condition, fmt, args...)                                 \
  do {                                                                      \
    if (!(condition)) {                                                     \
      LOG_ALWAYS_FATAL("assertion '" #condition "' failed - " fmt, ##args); \
    }                                                                       \
  } while (false)