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: Xu Wang <vulab@iscas.ac.cn> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Родитель
cbb01c2f2f
Коммит
f8e25f9740
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче