From: Adrian Bunk Date: Tue, 18 Apr 2006 22:15:35 +0000 (+0200) Subject: IB/mthca: make a function static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=415dcd95b25b59631656f559570d1a973bf691a9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git IB/mthca: make a function static This patch makes the needlessly global mthca_update_rate() static. Signed-off-by: Adrian Bunk Signed-off-by: Roland Dreier --- diff --git a/drivers/infiniband/hw/mthca/mthca_mad.c b/drivers/infiniband/hw/mthca/mthca_mad.c index f235c7ea42f0..4730863ece9a 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;