summaryrefslogtreecommitdiff
path: root/drivers/scsi/qedi/qedi.h
diff options
context:
space:
mode:
authorNilesh Javali <nilesh.javali@cavium.com>2018-11-21 12:25:15 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-11-29 04:51:46 +0300
commit3fb5a21fd008a9f4e7f172f062fa04b35e16b9d4 (patch)
tree50ce682dec6ccadf96bf72e31f28696e9bdeebea /drivers/scsi/qedi/qedi.h
parent59a206b4499edf4c54fd53983f0e366eef052b05 (diff)
downloadlinux-3fb5a21fd008a9f4e7f172f062fa04b35e16b9d4.tar.xz
scsi: qedi: Cleanup redundant QEDI_PAGE_SIZE macro definition
Remove redundant macro definition. Signed-off-by: Nilesh Javali <nilesh.javali@cavium.com> Reviewed-by: Lee Duncan <lduncan@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedi/qedi.h')
-rw-r--r--drivers/scsi/qedi/qedi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/qedi/qedi.h b/drivers/scsi/qedi/qedi.h
index a6f96b35e971..e966855b96e7 100644
--- a/drivers/scsi/qedi/qedi.h
+++ b/drivers/scsi/qedi/qedi.h
@@ -64,11 +64,9 @@ struct qedi_endpoint;
#define TX_RX_RING 16
#define RX_RING (TX_RX_RING - 1)
#define LL2_SINGLE_BUF_SIZE 0x400
-#define QEDI_PAGE_SIZE 4096
#define QEDI_PAGE_ALIGN(addr) ALIGN(addr, QEDI_PAGE_SIZE)
#define QEDI_PAGE_MASK (~((QEDI_PAGE_SIZE) - 1))
-#define QEDI_PAGE_SIZE 4096
#define QEDI_HW_DMA_BOUNDARY 0xfff
#define QEDI_PATH_HANDLE 0xFE0000000UL