Message ID | 1438308967-17359-1-git-send-email-peter.chen@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> 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 837F89F358 for <patchwork-linux-scsi@patchwork.kernel.org>; Fri, 31 Jul 2015 03:41:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AEC7F20582 for <patchwork-linux-scsi@patchwork.kernel.org>; Fri, 31 Jul 2015 03:41:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9869F205D6 for <patchwork-linux-scsi@patchwork.kernel.org>; Fri, 31 Jul 2015 03:41:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751210AbbGaDlL (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Thu, 30 Jul 2015 23:41:11 -0400 Received: from mail-by2on0126.outbound.protection.outlook.com ([207.46.100.126]:44743 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751158AbbGaDlK (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Thu, 30 Jul 2015 23:41:10 -0400 X-Greylist: delayed 900 seconds by postgrey-1.27 at vger.kernel.org; Thu, 30 Jul 2015 23:41:10 EDT Received: from CO2PR03CA0020.namprd03.prod.outlook.com (10.141.194.147) by BN3PR0301MB0852.namprd03.prod.outlook.com (10.160.154.15) with Microsoft SMTP Server (TLS) id 15.1.225.19; Fri, 31 Jul 2015 03:26:09 +0000 Received: from BL2FFO11FD012.protection.gbl (2a01:111:f400:7c09::100) by CO2PR03CA0020.outlook.office365.com (2a01:111:e400:1414::19) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Fri, 31 Jul 2015 03:26:08 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD012.mail.protection.outlook.com (10.173.161.18) with Microsoft SMTP Server (TLS) id 15.1.231.11 via Frontend Transport; Fri, 31 Jul 2015 03:26:07 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t6V3Q4lm009459; Thu, 30 Jul 2015 20:26:05 -0700 From: Peter Chen <peter.chen@freescale.com> To: <kxie@chelsio.com>, <JBottomley@odin.com> CC: <linux-scsi@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Peter Chen <peter.chen@freescale.com> Subject: [PATCH 1/1] scsi: cxgbi: delete useless DIV_ROUND_UP definition Date: Fri, 31 Jul 2015 10:16:07 +0800 Message-ID: <1438308967-17359-1-git-send-email-peter.chen@freescale.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD012; 1:hbB+enkgzzIhqxMa0H01uYMdZdngKAWNgz0E1CcYXT2U7bH1OJymgGhb7063J5ADOSeRnMng/gRam+iq0z7ldfXoNJelZjNI7AdScZY+i1ZcXk3roLjjidWWAlwkv8oEV2KkcR6FCKhWb2M1S0NNsgnDP5PNu+ER56oK0u4FBGXWgA/7YlYS+/A+X+R0QS4ju4ececLBn8edGeb10r5N4sUx522t930HXmzV32XDXZgLqUjuvMvYvrBVypg6b2UZpNeBxljSF4ItNH8Leu5pSn7WNZpAHZEn2/+NJL/Jy0Xa0WDqFZXasG/DvEZolW4aE+J0a2Gal3MSXehqkSqf5A== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(199003)(189002)(19580405001)(36756003)(87936001)(107886002)(6806004)(86362001)(229853001)(19580395003)(62966003)(46102003)(105606002)(77156002)(48376002)(85426001)(92566002)(50986999)(33646002)(189998001)(5001960100002)(5001920100001)(106466001)(77096005)(5001770100001)(47776003)(50466002)(50226001)(104016003)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB0852; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB0852; 2:+nAKwWJI8J3r1plL+H6n10A7biLK4tu0BG4r8hoSwBtOK1YpmWBUnAPVYHVI1jZ8mE/CSiQtU9PkUYWZjgfpDUIvWnemz4Nt9RTgNZ/q2aA5LSNYPkoRD+mPnEwdWI0jH0dmXOH0Tfk/n+w2jZNIeGcrP3BdjtLAFKzmf89dQ8s=; 3:qLQ3XM/VYcva784q7CjJbuXLlUAAdV3ZG0WHjaz0swk3jkpCCi3kovbl0/B+XBok1ZGVs5wQ+kRDuuMQ2+vIb8AUN4fSXiugoHj7hYGcGD0U7zXNoBBbHv54wnxrh62gxExBLPPRRVVRa0OfwR7ed8WfMio9/rLx4GJCHfy50Fqt5u8MMuLCmlhZ/h+mJgYjzsae5YUSaqGzuhpp7cAEZilTm4vaaU8f4a0ID8UYxNY=; 25:tdNSUpDOKVLTE2jb2HMUmNIHYwZotHR+26NMRHpUWBRBrpP2tRdELt9Qf0T2ff2tqZI4f0/I43ls59TfD0IQILTOtN3na3wwdjQEc2Qmao0qHaLU3zg5PCSuXn6WLr27F8KITOFWrIQBQ/CwkxdSwImsGHM67CFoBmkR/7zHsO1o5xXMJ3IY+HjCG3KHNJjVQHYtCUKNMybdSEuvLjUXOzVEUKAw4kkXZ+PBYP03tq5q+h7VoE6MuFQPmhBKO4A1Bp7mo8t7rYsTBMMvN9yKnQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB0852; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB0852; 20:L47Wr/Xqv4MfSLuU9lsCRcx/ApP5POd4AHd6iYQAJQ94RP293YvAwaCpvcN3u0/NZHJqZxn463wGcS73mUA3j5ARnEffmg1V61aj30eXSMIfMkudXBs6Ol+24WE0jZskXL1PKn5eyje3m2JoZXFV+l3B35Y/NIBhCHf3ZyX6NWGUInWoeLKjb4zmeX6xk2WJRZ8GgsZDsZKcwjR4MgbH0nIVAc+7vvTAzn3zIhTCEFFLA9i8YtM8E5KuK1slUnJU81dnfmY9QGSEMVKXwrmJIEG2iJlTmRIkMv3GRKfvUMAKJVQ+8zOJsQ2VNKbR32cMLw3eN3dkLYWu+UWRBCukMPtipq6VaUioGLZ0kva5ESo=; 4:kcl8FveNUEoBQn1WIK6L/ApJM8eQH5Es7B6iAg2fv4FkCFJ7yMxLC8z37FFJbxjfpMrtGUwoqamkn0XJCYyLaRONH6PKDGXRiN6jnWByBVEFRrra2mqwsznelRBw0BEu0e0suPZZ1JQ0WJ4/Fu6oCKRy5ULX7TgSGXrUAtalSyxKwpkYP9XlFnxp27BRmLxmOq6LglFxe6xBnWekpa+DROmj4uHrnhxk7L/FmCpsZDzxN518YW1GAGTXoVmsKzf/xyrB/iNa6zARMC2YFz+JDKRYT66bGsYKrPh2rEk+h7g= BN3PR0301MB0852: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: <BN3PR0301MB0852B7D150628877A28567CA818A0@BN3PR0301MB0852.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BN3PR0301MB0852; BCL:0; PCL:0; RULEID:; SRVR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fPIoY29QeykQ3ek4ADHAB8wFX1D+b2xd/k/4MQs0tLhkyZeiJsQ4szDu3paydQ14QFuSINhDYwRGXw0VxRFJoy8q7d9+5+sVSO3/BB0wnd69c5dbQ==; 24:pkqw1RbJZNcCiIVAbrjUHS9uG+ypSX1d3w8IUApl1N37qxwASgaTY7N1H+oBLvH9aYvW6HpZ5QT27+zCdiDqgXqeZyF5KIY780AV2XgURyY=; 20:p3A4IQBR3RIaiXntj9UPzzeLAa+xxdm19/1HpmfIAXQUoVFwOr1GbvAwyiqmJqW/wAM0k/OC9e9lhxBcfxDXQA== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2015 03:26:07.6998 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB0852 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c index de6feb8..908399a 100644 --- a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c +++ b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c @@ -158,7 +158,6 @@ static struct scsi_transport_template *cxgb4i_stt; * open/close/abort and data send/receive. */ -#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) #define RCV_BUFSIZ_MASK 0x3FFU #define MAX_IMM_TX_PKT_LEN 128
The common kernel.h has already supplied it. Signed-off-by: Peter Chen <peter.chen@freescale.com> --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 1 - 1 file changed, 1 deletion(-)