linux_dsm_epyc7002/drivers/infiniband/hw/mthca
Colin Ian King 6e68c899e6 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>
2018-09-26 16:34:11 -06:00
..
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mthca_allocator.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
mthca_av.c RDMA: Convert drivers to use the AH's sgid_attr in post_wr paths 2018-06-18 11:11:27 -06:00
mthca_catas.c treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
mthca_cmd.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
mthca_cmd.h IB/core cleanup: Add const on args - device->process_mad 2015-06-02 09:33:13 -04:00
mthca_config_reg.h IB/mthca: Remove unnecessary include of <asm/page.h> 2009-09-05 20:36:13 -07:00
mthca_cq.c IB: remove in-kernel support for memory windows 2015-12-23 14:29:04 -05:00
mthca_dev.h RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
mthca_doorbell.h RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_eq.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
mthca_mad.c RDMA/drivers: Use dev_err/dbg/etc instead of pr_* + ibdev->name 2018-09-26 13:51:48 -06:00
mthca_main.c IB/mthca: remove redundant inner check of mdev->mthca_flags 2018-09-26 16:34:11 -06:00
mthca_mcg.c IB/mthca: Stop returning separate error and status from FW commands 2011-07-15 13:33:20 -07:00
mthca_memfree.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
mthca_memfree.h RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_mr.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
mthca_pd.c RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_profile.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
mthca_profile.h RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_provider.c RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
mthca_provider.h IB/mthca: Use the dma state API instead of pci equivalents 2010-04-21 15:25:34 -07:00
mthca_qp.c RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
mthca_reset.c IB/mthca: Remove debug prints after allocation failure 2016-12-03 13:12:52 -05:00
mthca_srq.c RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
mthca_uar.c RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_wqe.h RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00