summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/icm.h
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-21 06:59:20 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-24 14:55:47 -0700
commit9740d7860429a561f4745da8c179d84290f3c9a3 (patch)
treedb03aae249119bfe6fabc627b958485042a58093 /drivers/net/mlx4/icm.h
parent00389b0820c44cceec3f6981cb4d217982ec73b2 (diff)
mlx4: make functions local and remove dead code.
Make the following function static: mlx4_UNMAP_ICM Remove the following unused function: mlx4_MAP_ICM_page Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/icm.h')
-rw-r--r--drivers/net/mlx4/icm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/mlx4/icm.h b/drivers/net/mlx4/icm.h
index ab56a2f89b6..b10c07a1dc1 100644
--- a/drivers/net/mlx4/icm.h
+++ b/drivers/net/mlx4/icm.h
@@ -128,8 +128,6 @@ static inline unsigned long mlx4_icm_size(struct mlx4_icm_iter *iter)
return sg_dma_len(&iter->chunk->mem[iter->page_idx]);
}
-int mlx4_UNMAP_ICM(struct mlx4_dev *dev, u64 virt, u32 page_count);
-int mlx4_MAP_ICM_page(struct mlx4_dev *dev, u64 dma_addr, u64 virt);
int mlx4_MAP_ICM_AUX(struct mlx4_dev *dev, struct mlx4_icm *icm);
int mlx4_UNMAP_ICM_AUX(struct mlx4_dev *dev);