Remove unnecessary CSTYLED escapes on top-level macro invocations

cstyle can handle these cases now, so we don't need to disable it.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #16840
This commit is contained in:
Rob Norris
2024-12-04 17:49:09 +11:00
committed by Brian Behlendorf
parent 73a73cba71
commit 0d51852ec7
43 changed files with 5 additions and 196 deletions
-6
View File
@@ -185,7 +185,6 @@ zfs_valstr_ ## name(int v, char *out, size_t outlen) \
/* String tables */
/* ZIO flags: zio_flag_t, typically zio->io_flags */
/* BEGIN CSTYLED */
_VALSTR_BITFIELD_IMPL(zio_flag,
{ '.', "DA", "DONT_AGGREGATE" },
{ '.', "RP", "IO_REPAIR" },
@@ -221,13 +220,11 @@ _VALSTR_BITFIELD_IMPL(zio_flag,
{ '.', "DG", "DELEGATED" },
{ '.', "DC", "DIO_CHKSUM_ERR" },
)
/* END CSTYLED */
/*
* ZIO pipeline stage(s): enum zio_stage, typically zio->io_stage or
* zio->io_pipeline.
*/
/* BEGIN CSTYLED */
_VALSTR_BITFIELD_IMPL(zio_stage,
{ 'O', "O ", "OPEN" },
{ 'I', "RI", "READ_BP_INIT" },
@@ -257,10 +254,8 @@ _VALSTR_BITFIELD_IMPL(zio_stage,
{ 'C', "DC", "DIO_CHECKSUM_VERIFY" },
{ 'X', "X ", "DONE" },
)
/* END CSTYLED */
/* ZIO priority: zio_priority_t, typically zio->io_priority */
/* BEGIN CSTYLED */
_VALSTR_ENUM_IMPL(zio_priority,
"SYNC_READ",
"SYNC_WRITE",
@@ -274,7 +269,6 @@ _VALSTR_ENUM_IMPL(zio_priority,
"[NUM_QUEUEABLE]",
"NOW",
)
/* END CSTYLED */
#undef _VALSTR_BITFIELD_IMPL
#undef _VALSTR_ENUM_IMPL