From patchwork Fri Mar 27 01:18:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Opdenacker X-Patchwork-Id: 6102911 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C99089F399 for ; Fri, 27 Mar 2015 01:18:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EFCA020435 for ; Fri, 27 Mar 2015 01:18:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 21DF5203DA for ; Fri, 27 Mar 2015 01:18:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753128AbbC0BSV (ORCPT ); Thu, 26 Mar 2015 21:18:21 -0400 Received: from down.free-electrons.com ([37.187.137.238]:58355 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752632AbbC0BSU (ORCPT ); Thu, 26 Mar 2015 21:18:20 -0400 Received: by mail.free-electrons.com (Postfix, from userid 106) id E4FEF2F4; Fri, 27 Mar 2015 02:18:21 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from localhost (unknown [216.9.110.13]) by mail.free-electrons.com (Postfix) with ESMTPSA id 52FD2209; Fri, 27 Mar 2015 02:18:21 +0100 (CET) From: Michael Opdenacker To: aacraid@adaptec.com, JBottomley@parallels.com, akpm@linux-foundation.org Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Opdenacker Subject: [PATCH] [RESEND][SCSI] ips: remove unused defines Date: Thu, 26 Mar 2015 18:18:09 -0700 Message-Id: <1427419089-27036-1-git-send-email-michael.opdenacker@free-electrons.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1394256771-10751-1-git-send-email-michael.opdenacker@free-electrons.com> References: <1394256771-10751-1-git-send-email-michael.opdenacker@free-electrons.com> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 & 0xffffffff)