Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752170Ab3J0G7z (ORCPT ); Sun, 27 Oct 2013 02:59:55 -0400 Received: from top.free-electrons.com ([176.31.233.9]:58495 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750993Ab3J0G7y (ORCPT ); Sun, 27 Oct 2013 02:59:54 -0400 From: Michael Opdenacker To: ipslinux@adaptec.com, aacraid@adaptec.com, JBottomley@parallels.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Opdenacker Subject: [PATCH] [SCSI] ips: remove unused defines Date: Sun, 27 Oct 2013 07:59:20 +0100 Message-Id: <1382857160-3306-1-git-send-email-michael.opdenacker@free-electrons.com> X-Mailer: git-send-email 1.8.1.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1080 Lines: 38 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 45b9566..26df4f6 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.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/