Skip to content

Commit

Permalink
IB/mthca: make a function static
Browse files Browse the repository at this point in the history
This patch makes the needlessly global mthca_update_rate() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
Adrian Bunk authored and Roland Dreier committed Apr 19, 2006
1 parent 5494c22 commit 415dcd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/mthca/mthca_mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 415dcd9

Please sign in to comment.