infiniband/hw/mthca/mthca_mr.c: make 2 functions static
PATCH 1/1 infiniband/hw/mthca/mthca_mr.c: make 2 functions static
This patch makes two needlessly global functions static.
Signed-off-by Adrian Bunk <[email protected]>
---
drivers/infiniband/hw/mthca/mthca_mr.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
drivers/infiniband/hw/mthca/mthca_mr.c renamed from drivers/infiniband/hw/mthca/mthca_mr.c.old +6 -4
@@ -310,8 +310,9 @@return mthca_is_memfree (dev) ? (PAGE_SIZE /sizeof (u64)) :0x7ffffff ; } -void mthca_tavor_write_mtt_seg (struct mthca_dev *dev,struct mthca_mtt *mtt, -int start_index,u64 *buffer_list,int list_len) +static void mthca_tavor_write_mtt_seg (struct mthca_dev *dev, +struct mthca_mtt *mtt,int start_index, +u64 *buffer_list,int list_len) {u64 __iomem *mtts;int i;
@@ -323,8 +324,9 @@ mtts + i); } -void mthca_arbel_write_mtt_seg (struct mthca_dev *dev,struct mthca_mtt *mtt, -int start_index,u64 *buffer_list,int list_len) +static void mthca_arbel_write_mtt_seg (struct mthca_dev *dev, +struct mthca_mtt *mtt,int start_index, +u64 *buffer_list,int list_len) {__be64 *mtts;dma_addr_t dma_handle;
Roland Dreier
AppliedQueued for my next merge, thanks.