Skip to content

Commit 91a8f05

Browse files
Karan Kumarjohnmeneghini
authored andcommitted
scsi: fnic: Remove unnecessary debug print
JIRA: https://issues.redhat.com/browse/RHEL-72902 Remove unnecessary debug print from fdls_schedule_oxid_free_retry_work. As suggested by Dan, this information is already present in stack traces, and the kernel is not expected to fail small allocations. Suggested-by: Dan Carpenter <dan.carpenter@linaro.org> Fixes: a63e78e ("scsi: fnic: Add support for fabric based solicited requests and responses") Reviewed-by: Sesidhar Baddela <sebaddel@cisco.com> Reviewed-by: Arulprabhu Ponnusamy <arulponn@cisco.com> Reviewed-by: Gian Carlo Boffa <gcboffa@cisco.com> Reviewed-by: Arun Easi <aeasi@cisco.com> Signed-off-by: Karan Tilak Kumar <kartilak@cisco.com> Link: https://lore.kernel.org/r/20250225214909.4853-1-kartilak@cisco.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> (cherry picked from commit 9b2d1ec) Signed-off-by: Karan Kumar <karkumar@redhat.com>
1 parent 65dc387 commit 91a8f05

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/scsi/fnic/fdls_disc.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,10 +323,6 @@ void fdls_schedule_oxid_free_retry_work(struct work_struct *work)
323323
spin_lock_irqsave(&fnic->fnic_lock, fnic->lock_flags);
324324

325325
if (!reclaim_entry) {
326-
FNIC_FCS_DBG(KERN_WARNING, fnic->host, fnic->fnic_num,
327-
"Failed to allocate memory for reclaim struct for oxid idx: 0x%x\n",
328-
idx);
329-
330326
schedule_delayed_work(&oxid_pool->schedule_oxid_free_retry,
331327
msecs_to_jiffies(SCHEDULE_OXID_FREE_RETRY_TIME));
332328
spin_unlock_irqrestore(&fnic->fnic_lock, fnic->lock_flags);

0 commit comments

Comments
 (0)