]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
[SCSI] advansys: Move a couple of fields from struct board to struct adv_dvc
authorMatthew Wilcox <matthew@wil.cx>
Wed, 3 Oct 2007 01:55:37 +0000 (21:55 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:53:48 +0000 (14:53 -0400)
commit98d41c29a4b38c5b5e8ce5e13c4f3ac852615e0b
tree85f3d692de0b25f05febacb0f1985b3ade73181f
parentafbb68c35f4bdf0964d88e9e005e6f62ba57d134
[SCSI] advansys: Move a couple of fields from struct board to struct adv_dvc

board->carrp is a duplicate of asc_dvc->carrier_buf, so cut out the
middle-man and assign directly to carrier_buf.  Move orig_reqp to adv_dvc
too, since it's wide-board specific.  Also eliminate an unnecessary BUG_ON
(we'll never get there with a NULL carrier_buf, and will crash if we do).
The bulk of this patch is rearranging structures so everything's declared
in the right order.

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