]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
[SCSI] libfc: Cleanup return paths in fc_rport_error_retry
authorHillf Danton <dhillf@gmail.com>
Sat, 29 Jan 2011 00:03:26 +0000 (16:03 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 12 Feb 2011 16:57:22 +0000 (10:57 -0600)
commit28a4af1e43047531ab612564e32ab9969c9dd965
tree2c91320742f7d6110d034b7627684f4090724d3b
parentfa79dbdbdd166025b5835bddaff152bb57c4440a
[SCSI] libfc: Cleanup return paths in fc_rport_error_retry

This patch makes it so that we only have one call to
fc_rport_error. This patch does not completely
consolidate return statements, there is still one return
used when not calling fc_rport_error, but alternative
solutions made the code more confusing.

[ Patch modified by Robert Love ]
[ Patch title and commit message edited by Robert Love
  to make it more relevant ]

Signed-off-by: Hillf Danton <dhillf@gmail.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