aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes/nes.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2018-09-05 08:58:31 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-09-05 15:58:30 -0600
commit12d6f669717d8f1b7de5cb7409c362fd8a4f1d2d (patch)
tree0ea77e0215b1e05380d0ba9b0ebabd6154e34b8d /drivers/infiniband/hw/nes/nes.c
parentb3b43483a26dbb7b05fce1c21f6807d299888617 (diff)
downloadkernel_replicant_linux-12d6f669717d8f1b7de5cb7409c362fd8a4f1d2d.tar.gz
kernel_replicant_linux-12d6f669717d8f1b7de5cb7409c362fd8a4f1d2d.tar.bz2
kernel_replicant_linux-12d6f669717d8f1b7de5cb7409c362fd8a4f1d2d.zip
RDMA/nes: Delete impossible debug prints
The pci-core and net-core logic ensure that parameters provided to nes_probe() and nes_netdev_open() are valid, hence the assert print are not possible. Cc: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes.c')
-rw-r--r--drivers/infiniband/hw/nes/nes.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c
index 42b68aa999fc..e00add6d78ec 100644
--- a/drivers/infiniband/hw/nes/nes.c
+++ b/drivers/infiniband/hw/nes/nes.c
@@ -456,9 +456,6 @@ static int nes_probe(struct pci_dev *pcidev, const struct pci_device_id *ent)
void __iomem *mmio_regs = NULL;
u8 hw_rev;
- assert(pcidev != NULL);
- assert(ent != NULL);
-
printk(KERN_INFO PFX "NetEffect RNIC driver v%s loading. (%s)\n",
DRV_VERSION, pci_name(pcidev));