From 34c6538413e5648b63cb785add509f500b3a7b11 Mon Sep 17 00:00:00 2001 From: Borislav Petkov Date: Thu, 18 Oct 2007 03:05:06 -0700 Subject: unify DMA_..BIT_MASK definitions: v3.1 Remove redundant DMA_..BIT_MASK definitions across two drivers. The computation of the majority of the bitmasks is done by the compiler. The initial split of the patch touching each a different file got removed due to possible git bisect breakage. Signed-off-by: Borislav Petkov Cc: Jeremy Fitzhardinge Cc: Muli Ben-Yehuda Cc: Jeff Garzik Cc: James Bottomley Reviewed-by: Satyam Sharma Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/net/netxen/netxen_nic_main.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/net/netxen') diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 2a1d6d7ec351..601051c584e8 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c @@ -53,9 +53,6 @@ static char netxen_nic_driver_string[] = "NetXen Network Driver version " #define NETXEN_ADAPTER_UP_MAGIC 777 #define NETXEN_NIC_PEG_TUNE 0 -#define DMA_32BIT_MASK 0x00000000ffffffffULL -#define DMA_35BIT_MASK 0x00000007ffffffffULL - /* Local functions to NetXen NIC driver */ static int __devinit netxen_nic_probe(struct pci_dev *pdev, const struct pci_device_id *ent); -- cgit v1.2.3-70-g09d2