提交 415dcd95 编写于 作者: A Adrian Bunk 提交者: Roland Dreier

IB/mthca: make a function static

This patch makes the needlessly global mthca_update_rate() static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 5494c22b
...@@ -49,7 +49,7 @@ enum { ...@@ -49,7 +49,7 @@ enum {
MTHCA_VENDOR_CLASS2 = 0xa 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; struct ib_port_attr *tprops = NULL;
int ret; int ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册