]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[SCSI] advansys: Restructure asc_execute_scsi_cmnd()
authorMatthew Wilcox <matthew@wil.cx>
Wed, 3 Oct 2007 01:55:24 +0000 (21:55 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:52:59 +0000 (14:52 -0400)
commit41d2493d3478942f891b21dff60951ff939c08d9
tree755abed809d87450700e69d4003f50307ad92a0a
parent6e8905f4a028bd07190fa5b2f90b5a35868c84d8
[SCSI] advansys: Restructure asc_execute_scsi_cmnd()

The wide and narrow boards share identical handling of the return value,
except for some trivial error messages.  Move the handling to the common
end of the function.  Also move variable declarations to the arms of
the `if' that they're used in and delete some pointless comments.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/advansys.c