Commit f8e25f97 authored by vulab's avatar vulab Committed by Martin K. Petersen
Browse files

scsi: cxgb4i: Remove superfluous null check

In do_abort_rpl_rss, the null check of 'clk' is not needed.

Link: https://lore.kernel.org/r/20200402110832.12712-1-vulab@iscas.ac.cn


Signed-off-by: default avatarXu Wang <vulab@iscas.ac.cn>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent cbb01c2f
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1127,7 +1127,6 @@ static void do_abort_rpl_rss(struct cxgbi_device *cdev, struct sk_buff *skb)
	if (!csk)
		goto rel_skb;

	if (csk)
	pr_info_ipaddr("csk 0x%p,%u,0x%lx,%u, status %u.\n",
		       (&csk->saddr), (&csk->daddr), csk,
		       csk->state, csk->flags, csk->tid, rpl->status);