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
..
2021-06-10 12:43:51 +02:00
2019-03-23 14:35:16 +01:00
2022-01-05 12:33:49 +01:00
2019-07-19 16:24:39 +08:00
2019-11-10 11:25:37 +01:00
2020-03-05 12:59:36 -05:00
2018-05-16 10:10:23 +02:00
2022-04-26 15:03:40 +07:00
2025-01-13 14:37:40 -03:00
2024-07-13 20:47:49 -03:00
2025-01-13 14:37:40 -03:00