Tashfin Shakeer Rhythm a9566ccc56 msm-4.14: Make macros no-op using ((void)0)
Do not solely rely on compiler optimizations to get the workaround
of having macros do nothing using an empty do-while loop. It's
inefficient.

Use ((void)0) to which the standard assert macro expands when NDEBUG
is defined.

No functional change intended.

[mcdofrenchfreis]:
Implement this patch to tree using the command:
git grep -l "do {} while (0)" | xargs sed -i "s/do {} while (0)/((void)0)/g"

Change-Id: I9615c62c46670e31ed8d0d89d195144541baa3e6
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Signed-off-by: mcdofrenchfreis <xyzevan@androidist.net>
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
2025-01-17 00:51:10 -03:00
..
2023-08-23 14:54:21 +00:00
2024-12-12 00:01:58 -03:00
2024-12-03 01:45:18 -03:00
2024-12-31 01:58:29 -03:00
2023-09-30 11:44:35 +00:00
2024-12-13 00:13:33 -03:00
2023-09-30 11:44:35 +00:00
2024-12-23 00:53:44 -03:00
2024-11-17 13:03:44 -03:00
2024-12-12 00:01:58 -03:00
2024-12-03 01:45:18 -03:00
2024-12-03 01:45:18 -03:00
2023-01-18 09:32:42 +01:00
2024-12-03 01:45:18 -03:00
2021-12-14 10:16:55 +01:00
2024-12-03 01:45:18 -03:00
2022-02-23 12:10:45 +01:00