lkml.org 
[lkml]   [2020]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scsi: snic: Remove unnecessary condition to simplify the code
Date
On Fri, 25 Sep 2020 14:07:54 +0800, Jing Xiangfeng wrote:

> ret is always zero or an error in this code path. So the assignment to
> ret is redundant, and the code jumping to a label is unneed.
> Let's remove them to simplify the code. No functional changes.

Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: snic: Remove unnecessary condition
https://git.kernel.org/mkp/scsi/c/2a7869d6c9a1

--
Martin K. Petersen Oracle Linux Engineering

\
 
 \ /
  Last update: 2020-10-07 05:49    [W:0.075 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site