ionic: remove WARN_ON to prevent panic_on_warn
authorNitya Sunkad <nitya.sunkad@amd.com>
Thu, 6 Jul 2023 18:20:06 +0000 (11:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Jul 2023 11:49:22 +0000 (13:49 +0200)
commitdc470466753ad0dd3a8c48aaefa05a992c119b9c
tree74d68a818a90808b6b779c5880e8c885f6e9ef3c
parent6cc293d29c8fc18cec2e6714be1dc6a56296e5e0
ionic: remove WARN_ON to prevent panic_on_warn

[ Upstream commit abfb2a58a5377ebab717d4362d6180f901b6e5c1 ]

Remove unnecessary early code development check and the WARN_ON
that it uses.  The irq alloc and free paths have long been
cleaned up and this check shouldn't have stuck around so long.

Fixes: 77ceb68e29cc ("ionic: Add notifyq support")
Signed-off-by: Nitya Sunkad <nitya.sunkad@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_lif.c