Skip to content

Commit 9b2d1ec

Browse files
Karan Tilak Kumarmartinkpetersen
authored andcommitted
scsi: fnic: Remove unnecessary debug print
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 <[email protected]> Fixes: a63e78e ("scsi: fnic: Add support for fabric based solicited requests and responses") Reviewed-by: Sesidhar Baddela <[email protected]> Reviewed-by: Arulprabhu Ponnusamy <[email protected]> Reviewed-by: Gian Carlo Boffa <[email protected]> Reviewed-by: Arun Easi <[email protected]> Signed-off-by: Karan Tilak Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent dfb7df1 commit 9b2d1ec

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)