[PATCH] [RESEND][SCSI] ips: remove unused defines

2015-03-26 Thread Michael Opdenacker
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 
---
 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 & 0x)
 
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] [RESEND][SCSI] ips: remove unused defines

2015-03-26 Thread Michael Opdenacker
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.opdenac...@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  0x)
 
-- 
2.1.0

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] [RESEND][SCSI] ips: remove unused defines

2014-03-07 Thread Michael Opdenacker
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 
---
 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 & 0x)
 
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] [RESEND][SCSI] ips: remove unused defines

2014-03-07 Thread Michael Opdenacker
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.opdenac...@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  0x)
 
-- 
1.8.3.2

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH][RESEND] [SCSI] ips: remove unused defines

2013-12-09 Thread Michael Opdenacker
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 
---
 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 & 0x)
 
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH][RESEND] [SCSI] ips: remove unused defines

2013-12-09 Thread Michael Opdenacker
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.opdenac...@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  0x)
 
-- 
1.8.3.2

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/