[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1438308967-17359-1-git-send-email-peter.chen@freescale.com>
Date: Fri, 31 Jul 2015 10:16:07 +0800
From: Peter Chen <peter.chen@...escale.com>
To: <kxie@...lsio.com>, <JBottomley@...n.com>
CC: <linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Peter Chen <peter.chen@...escale.com>
Subject: [PATCH 1/1] scsi: cxgbi: delete useless DIV_ROUND_UP definition
The common kernel.h has already supplied it.
Signed-off-by: Peter Chen <peter.chen@...escale.com>
---
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 1 -
1 file changed, 1 deletion(-)
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
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists