Skip to content

staging: pi433: Refactor usage of dev_dbg and #ifdef DEBUG

Simon Sandström lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: pi433: Remove indentation on #ifdef blocksdrivers/staging/pi433/rf69.c+153 -1610 replies
2/3staging: pi433: Remove function entry dev_dbg()drivers/staging/pi433/rf69.c+0 -1560 replies
3/3staging: pi433: Remove unnecessary #ifdef DEBUG around dev_dbgdrivers/staging/pi433/rf69.c+0 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] staging: pi433: Refactor usage of dev_dbg and #ifdef DEBUG

These patches refactors the usage of dev_dbg and #ifdef DEBUG in rf69.c. All dev_dbg() calls that just prints the function name are removed, since we have ftrace. For all other calls the #ifdef DEBUG block around them are removed.

There are still two more defines used in rf69.c: DEBUG_FIFO_ACCESS and DEBUG_VALUES. Perhaps they should be removed as well?

- Simon

---

Simon Sandström (3):
staging: pi433: Remove indentation on #ifdef blocks
staging: pi433: Remove function entry dev_dbg()
staging: pi433: Remove unnecessary #ifdef DEBUG around dev_dbg

 drivers/staging/pi433/rf69.c | 232 ++++++-------------------------------------
 1 file changed, 32 insertions(+), 200 deletions(-)
Signature · 1 line
2.11.0