From: Michael Opdenacker <michael.opdenacker@free-electrons.com>
To: ipslinux@adaptec.com, aacraid@adaptec.com, JBottomley@parallels.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
Michael Opdenacker <michael.opdenacker@free-electrons.com>
Subject: [PATCH][RESEND] [SCSI] ips: remove unused defines
Date: Mon, 9 Dec 2013 11:05:40 +0100 [thread overview]
Message-ID: <1386583540-5190-1-git-send-email-michael.opdenacker@free-electrons.com> (raw)
In-Reply-To: <1382857160-3306-1-git-send-email-michael.opdenacker@free-electrons.com>
This patch removes unused defines from drivers/scsi/ips.h
- the min() macro is not used
- the __iomem define is no longer needed
to compile ips.c without warnings
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
---
drivers/scsi/ips.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/scsi/ips.h b/drivers/scsi/ips.h
index 45b9566b928e..26df4f6e9d70 100644
--- a/drivers/scsi/ips.h
+++ b/drivers/scsi/ips.h
@@ -88,14 +88,6 @@
touch_nmi_watchdog(); \
} while (0)
- #ifndef min
- #define min(x,y) ((x) < (y) ? x : y)
- #endif
-
- #ifndef __iomem /* For clean compiles in earlier kernels without __iomem annotations */
- #define __iomem
- #endif
-
#define pci_dma_hi32(a) ((a >> 16) >> 16)
#define pci_dma_lo32(a) (a & 0xffffffff)
--
1.8.3.2
next prev parent reply other threads:[~2013-12-09 10:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-27 6:59 [PATCH] " Michael Opdenacker
2013-12-09 10:05 ` Michael Opdenacker [this message]
2014-03-08 5:32 ` [PATCH] [RESEND][SCSI] " Michael Opdenacker
2015-03-27 1:18 ` Michael Opdenacker
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=1386583540-5190-1-git-send-email-michael.opdenacker@free-electrons.com \
--to=michael.opdenacker@free-electrons.com \
--cc=JBottomley@parallels.com \
--cc=aacraid@adaptec.com \
--cc=ipslinux@adaptec.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/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
all inboxes | Powered by JetHome®