[SCSI] libfc: rearrange code in fc_rport_work
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 21:01:06 +0000 (14:01 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:42 +0000 (12:07 -0500)
commit629f44279d169f29b084d406e9f1c33314f220fa
tree674698651f1a7be955334de72f186f16f4def97d
parentf211fa514a07326c0f9364c0e6ed17e38860172f
[SCSI] libfc: rearrange code in fc_rport_work

This is a cleanup without semantic changes to use a switch
statement instead of a series of if-statements in fc_rport_work(),
and to move some declarations up to the top.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_rport.c