LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] infiniband/hw/mthca/mthca_mr.c: make 2 functions static
@ 2007-02-20  0:02 Adrian Bunk
  2007-02-20  0:11 ` Roland Dreier
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-02-20  0:02 UTC (permalink / raw)
  To: Michael S. Tsirkin, Roland Dreier
  Cc: mshefty, halr, openib-general, linux-kernel

This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/infiniband/hw/mthca/mthca_mr.c |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

--- linux-2.6.20-mm1/drivers/infiniband/hw/mthca/mthca_mr.c.old	2007-02-17 17:41:39.000000000 +0100
+++ linux-2.6.20-mm1/drivers/infiniband/hw/mthca/mthca_mr.c	2007-02-17 17:42:22.000000000 +0100
@@ -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;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] infiniband/hw/mthca/mthca_mr.c: make 2 functions static
  2007-02-20  0:02 [2.6 patch] infiniband/hw/mthca/mthca_mr.c: make 2 functions static Adrian Bunk
@ 2007-02-20  0:11 ` Roland Dreier
  0 siblings, 0 replies; 2+ messages in thread
From: Roland Dreier @ 2007-02-20  0:11 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Michael S. Tsirkin, Roland Dreier, mshefty, halr, openib-general,
	linux-kernel

Queued for my next merge, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-20  0:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20  0:02 [2.6 patch] infiniband/hw/mthca/mthca_mr.c: make 2 functions static Adrian Bunk
2007-02-20  0:11 ` Roland Dreier

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).