pds_core: Don't assign interrupt index/bound_intr to notifyq
authorBrett Creeley <brett.creeley@amd.com>
Fri, 2 Feb 2024 19:59:08 +0000 (11:59 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 6 Feb 2024 12:26:54 +0000 (13:26 +0100)
commit02daffa903e60a864b43a17f7074bb3f7b7baac7
tree481fcf2be07e2e3907231aef2c196635917967f2
parent240fd405528bbf7fafa0559202ca7aa524c9cd96
pds_core: Don't assign interrupt index/bound_intr to notifyq

The notifyq rides on the adminq's interrupt, so there's
no need to setup and/or access the notifyq's interrupt
index or bound_intr. The driver sets the bound_intr
using  qcq->intx = -1 for the notifyq, but luckily
nothing accesses that field for notifyq. Instead of
expecting that remains the case, just clean up
the notifyq's interrupt index and bound_intr fields.

Signed-off-by: Brett Creeley <brett.creeley@amd.com>
Reviewed-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/amd/pds_core/core.c
drivers/net/ethernet/amd/pds_core/debugfs.c