Skip to content

Remove #if 0 blocks

Nishad Kamdar lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 2 repliesIn review
  2. v53 patches 2 repliesSuperseded
  3. v41 patch 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v31 patch2 repliesSuperseded

Changes in v6 from the cover letter

- Split the #if 0 removal patch in three patches.
- Each patch addresses one file.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: mt7621-mmc: Remove #if 0 blocks in sd.cdrivers/staging/mt7621-mmc/sd.c+1 -2482 replies
2/3staging: mt7621-mmc: Remove #if 0 blocks in dbg.cdrivers/staging/mt7621-mmc/dbg.c+1 -200 replies
3/3staging: mt7621-mmc: Remove #if 0 blocks in dbg.hdrivers/staging/mt7621-mmc/dbg.h+0 -150 replies

Reviews trailers per patch

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

Read the v6 thread

Cover letter [PATCH v6 0/3] Remove #if 0 blocks

This patchset removes #if 0 blocks in sd.c, dbg.c and dbg.h.

Changes in v6:
- Split the #if 0 removal patch in three patches.
- Each patch addresses one file.
Changes in v5:
- Split the patch in three different patches.
- The first patch removes #if 0 blocks.
- The second one removes msdc_irq_restore() macro.
- The third one removes other unused macros.
Changes in v4:
- Removed #if 0 code blocks and usages of functions defined in the #if 0 blocks in dbg.c and dbg.h
Changes in v3:
- Remove the #if 0 code blocks and usages of the functions defined in the #if 0 code block.
- Delete msdc_irq_restore() and replace its usage directly with call to the function being called by the macro.
Changes in v2:
- Convert msdc_gate_clk() and msdc_ungate_clk() to inline functions.
- Delete msdc_irq_restore(), msdc_vcore_on(), msdc_vcore_off(), msdc_vdd_on() and msdc_vdd_off() and replace their usages directly with calls to the function being called by these macros.

Nishad Kamdar (3):
staging: mt7621-mmc: Remove #if 0 blocks in sd.c
staging: mt7621-mmc: Remove #if 0 blocks in dbg.c
staging: mt7621-mmc: Remove #if 0 blocks in dbg.h

 drivers/staging/mt7621-mmc/dbg.c |  21 +--
 drivers/staging/mt7621-mmc/dbg.h |  15 --
 drivers/staging/mt7621-mmc/sd.c  | 249 +------------------------------
 3 files changed, 2 insertions(+), 283 deletions(-)
Signature · 1 line
2.17.1