aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-09-26 13:26:08 +0100
committerJason Gunthorpe <jgg@mellanox.com>2018-09-26 16:34:11 -0600
commit6e68c899e664f139cf72997dd1e3d8ebf34903bb (patch)
tree0c7a04ab9d21e514adf12e57b82607c23afc5290 /drivers/infiniband/core
parentRDMA/hns: Add MW support for hip08 (diff)
downloadlinux-dev-6e68c899e664f139cf72997dd1e3d8ebf34903bb.tar.xz
linux-dev-6e68c899e664f139cf72997dd1e3d8ebf34903bb.zip
IB/mthca: remove redundant inner check of mdev->mthca_flags
The inner check for mdev->mthca_flags & MTHCA_FLAG_MSI_X is redundant as this is already true because of the previous identical check in an outer if statement. Remove it Detected by cppcheck: (warning) Identical inner 'if' condition is always true. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions