Re: [PATCH] scsi: qedi: Remove redundant null check

2020-09-08 Thread Martin K. Petersen
On Thu, 27 Aug 2020 09:26:06 +, Xu Wang wrote: > Because kfree_skb already checked NULL skb parameter, > so the additional check is unnecessary, just remove it. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: qedi: Remove redundant NULL check

[PATCH] scsi: qedi: Remove redundant null check

2020-08-27 Thread Xu Wang
Because kfree_skb already checked NULL skb parameter, so the additional check is unnecessary, just remove it. Signed-off-by: Xu Wang --- drivers/scsi/qedi/qedi_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/qedi/qedi_main.c