trivial: move a variable from function to if-scope
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 of 7 patches 0 repliesNew
1 of 7 patches is in this archive. The cover letter announces 7.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 7/7 | trivial: move a variable from function to if-scopedrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] trivial: move a variable from function to if-scope
Move a variable from functions scope to if-scope.
Signed-off-by Bernd Schubert <[email protected]>
--- drivers/scsi/scsi_error.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/scsi/scsi_error.c +2 -1
@@ -132,7 +132,6 @@ enum blk_eh_timer_return scsi_times_out( {struct scsi_cmnd *scmd = req->special;enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd *); -enum blk_eh_timer_return rtn =eh_timed_out (scmd);scsi_log_completion (scmd,TIMEOUT_ERROR );
@@ -152,6 +151,8 @@ enum blk_eh_timer_return scsi_times_out( eh_timed_out =NULL ;if (eh_timed_out) { +enum blk_eh_timer_return rtn =eh_timed_out (scmd); +switch (rtn) {case BLK_EH_NOT_HANDLED :break ;
Signature · 2 lines
Bernd Schubert Q-Leap Networks GmbH