OSDN Git Service

[SCSI] zfcp: Remove duplicated code from zfcp_ccw_set_online
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Wed, 8 Sep 2010 12:40:00 +0000 (14:40 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 17 Sep 2010 02:54:22 +0000 (22:54 -0400)
commitc9ff5d0315231b133a43e5af842bc01fb474f0d7
tree8ddadd9baec295d9ce630c676d2e649513e0ff2c
parenta1ca48319a9aa1c5b57ce142f538e76050bb8972
[SCSI] zfcp: Remove duplicated code from zfcp_ccw_set_online

The steps for setting the zfcp_adapter online are the same in
zfcp_ccw_set_online and zfcp_ccw_activate. Remove the code duplication
by calling zfcp_ccw_activate from zfcp_ccw_set_online.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_ccw.c