Commit 415dcd95 authored by Adrian Bunk's avatar Adrian Bunk Committed by Roland Dreier

IB/mthca: make a function static

This patch makes the needlessly global mthca_update_rate() static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment