diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-04-19 00:15:35 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-04-19 11:40:12 -0700 |
commit | 415dcd95b25b59631656f559570d1a973bf691a9 (patch) | |
tree | 1019e737207ecf1bd69dbcbef1e6e655dda83d2d /drivers/infiniband/hw/mthca/mthca_mad.c | |
parent | 5494c22ba293a37534591d793f73e445a66196b5 (diff) |
IB/mthca: make a function static
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>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_mad.c')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_mad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_mad.c b/drivers/infiniband/hw/mthca/mthca_mad.c index f235c7ea42f..4730863ece9 100644 --- a/drivers/infiniband/hw/mthca/mthca_mad.c +++ b/drivers/infiniband/hw/mthca/mthca_mad.c @@ -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; |