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>
This commit is contained in:

committed by
Jason Gunthorpe

parent
b3b43483a2
commit
12d6f66971
@@ -146,8 +146,6 @@ static int nes_netdev_open(struct net_device *netdev)
|
||||
struct list_head *list_pos, *list_temp;
|
||||
unsigned long flags;
|
||||
|
||||
assert(nesdev != NULL);
|
||||
|
||||
if (nesvnic->netdev_open == 1)
|
||||
return 0;
|
||||
|
||||
|
Reference in New Issue
Block a user