Skip to contentSkip to conversation

drivers/infiniband/hw/mthca/mthca_mad.c: make a function static

PATCH Applied Adrian Bunk 2 participants 2 messages Apr 18, 2006 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/infiniband/hw/mthca/mthca_mad.c: make a function static

This patch makes the needlessly global mthca_update_rate() static.

drivers/infiniband/hw/mthca/mthca_mad.c renamed from drivers/infiniband/hw/mthca/mthca_mad.c.old +1 -1
@@ -49,7 +49,7 @@
 	MTHCA_VENDOR_CLASS2 = 0xa
 };
 
-int mthca_update_rate(struct mthca_dev *dev, u8 port_num)
+static int mthca_update_rate(struct mthca_dev *dev, u8 port_num)
 {
 	struct ib_port_attr *tprops = NULL;
 	int                  ret;
#1 lore raw

Thanks, applied. Sorry for letting that sneak through...

- R.