* [PATCH 1/1] scsi: cxgbi: delete useless DIV_ROUND_UP definition
@ 2015-07-31 2:16 Peter Chen
0 siblings, 0 replies; only message in thread
From: Peter Chen @ 2015-07-31 2:16 UTC (permalink / raw)
To: kxie, JBottomley; +Cc: linux-scsi, linux-kernel, Peter Chen
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(-)
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-31 2:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-31 2:16 [PATCH 1/1] scsi: cxgbi: delete useless DIV_ROUND_UP definition Peter Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).