linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] Remove #if 0 blocks and fix macros
@ 2018-10-01 14:42 Nishad Kamdar
  2018-10-01 14:43 ` [PATCH v5 1/3] staging: mt7621-mmc: Remove #if 0 blocks Nishad Kamdar
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Nishad Kamdar @ 2018-10-01 14:42 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Joe Perches
  Cc: NeilBrown, devel, Christian Lütke-Stetzkamp, linux-kernel,
	John Crispin, Dan Carpenter

This patchset removes #if 0 blocks and removes single statement
macros.

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
  staging: mt7621-mmc: Remove single statement macro msdc_irq_restore()
  staging: mt7621-mmc: Remove unused single statement macros

 drivers/staging/mt7621-mmc/dbg.c |  21 +--
 drivers/staging/mt7621-mmc/dbg.h |  14 --
 drivers/staging/mt7621-mmc/sd.c  | 304 +------------------------------
 3 files changed, 2 insertions(+), 337 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-03 16:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-01 14:42 [PATCH v5 0/3] Remove #if 0 blocks and fix macros Nishad Kamdar
2018-10-01 14:43 ` [PATCH v5 1/3] staging: mt7621-mmc: Remove #if 0 blocks Nishad Kamdar
2018-10-02 22:16   ` Greg Kroah-Hartman
2018-10-03 16:21     ` Nishad Kamdar
2018-10-01 14:46 ` [PATCH v5 2/3] staging: mt7621-mmc: Remove single statement macro msdc_irq_restore() Nishad Kamdar
2018-10-01 14:48 ` [PATCH v5 3/3] staging: mt7621-mmc: Remove unused single statement macros Nishad Kamdar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).