Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;