diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2015-01-16 18:52:18 +0300 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2015-02-20 20:04:09 +0300 |
commit | a46a2802f7470045714e8086d88a8b966b0753c3 (patch) | |
tree | 44b827ad27fd01f6442a89e667c32dc2a6503d1f /drivers/infiniband/hw/qib/qib_ruc.c | |
parent | 041af0bb765a5fd3a9206352ed9ec510a554f886 (diff) | |
download | linux-a46a2802f7470045714e8086d88a8b966b0753c3.tar.xz |
IB/qib: Fix checkpatch warnings
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_ruc.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_ruc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/qib/qib_ruc.c b/drivers/infiniband/hw/qib/qib_ruc.c index 45353a4fe802..f42bd0f47577 100644 --- a/drivers/infiniband/hw/qib/qib_ruc.c +++ b/drivers/infiniband/hw/qib/qib_ruc.c @@ -247,8 +247,8 @@ static __be64 get_sguid(struct qib_ibport *ibp, unsigned index) struct qib_pportdata *ppd = ppd_from_ibp(ibp); return ppd->guid; - } else - return ibp->guids[index - 1]; + } + return ibp->guids[index - 1]; } static int gid_ok(union ib_gid *gid, __be64 gid_prefix, __be64 id) |