[SCSI] libfc: rearrange code in fc_disc_gpn_ft_resp()
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 21:02:22 +0000 (14:02 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:49 +0000 (12:07 -0500)
commita1c1e4e76c68f564cddc0b43842b895464f7865f
tree69df5c219698d10af08abfe38ed25078b89b05cf
parentc356afd48690775097507c37780ee17c0b0ea375
[SCSI] libfc: rearrange code in fc_disc_gpn_ft_resp()

Code cleanup for fc_disc_gpn_ft_resp().

Some of the fc_disc.c code was poorly formatted. For example, some lines
in fc_disc.c were unnecessarily truncated and the buf variable could
be eliminated.

Also moved the increment of seq_count into fc_disc_gpn_ft_parse(), to
avoid doing it separately before each call.

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_disc.c