From: Nishad Kamdar <nishadkamdar@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Joe Perches <joe@perches.com>
Cc: NeilBrown <neil@brown.name>,
devel@driverdev.osuosl.org,
"Christian Lütke-Stetzkamp" <christian@lkamp.de>,
linux-kernel@vger.kernel.org, "John Crispin" <blogic@openwrt.org>,
"Dan Carpenter" <dan.carpenter@oracle.com>
Subject: [PATCH v6 0/3] Remove #if 0 blocks
Date: Thu, 4 Oct 2018 22:04:39 +0530 [thread overview]
Message-ID: <cover.1538670306.git.nishadkamdar@gmail.com> (raw)
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(-)
--
2.17.1
next reply other threads:[~2018-10-04 16:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-04 16:34 Nishad Kamdar [this message]
2018-10-04 16:35 ` [PATCH v6 1/3] staging: mt7621-mmc: Remove #if 0 blocks in sd.c Nishad Kamdar
2018-11-17 21:33 ` NeilBrown
2018-12-05 16:17 ` Nishad Kamdar
2018-10-04 16:36 ` [PATCH v6 2/3] staging: mt7621-mmc: Remove #if 0 blocks in dbg.c Nishad Kamdar
2018-10-04 16:37 ` [PATCH v6 3/3] staging: mt7621-mmc: Remove #if 0 blocks in dbg.h Nishad Kamdar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1538670306.git.nishadkamdar@gmail.com \
--to=nishadkamdar@gmail.com \
--cc=blogic@openwrt.org \
--cc=christian@lkamp.de \
--cc=dan.carpenter@oracle.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=neil@brown.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox