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

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 {
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;
......
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