diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2007-08-28 03:30:50 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:46:21 -0400 |
commit | 6ddd90a5b1618523dbfe3a11c50945f6660135a0 (patch) | |
tree | 958aa600a06f3ce3b85b03d7ead846a34f271d4b /drivers/s390/scsi | |
parent | cc16cebad086090891a3f39957ec771a2292359b (diff) |
[SCSI] zfcp: Remove unnecessary assignment
zfcp_adapter_enqueue initialized adapter->ccw_device twice with
the same value. Remove the second assignment, since it is not
necessary.
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/s390/scsi')
-rw-r--r-- | drivers/s390/scsi/zfcp_aux.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c index 90aa53fc4f3e..eb3af41a3c1c 100644 --- a/drivers/s390/scsi/zfcp_aux.c +++ b/drivers/s390/scsi/zfcp_aux.c | |||
@@ -1058,7 +1058,6 @@ zfcp_adapter_enqueue(struct ccw_device *ccw_device) | |||
1058 | /* mark adapter unusable as long as sysfs registration is not complete */ | 1058 | /* mark adapter unusable as long as sysfs registration is not complete */ |
1059 | atomic_set_mask(ZFCP_STATUS_COMMON_REMOVE, &adapter->status); | 1059 | atomic_set_mask(ZFCP_STATUS_COMMON_REMOVE, &adapter->status); |
1060 | 1060 | ||
1061 | adapter->ccw_device = ccw_device; | ||
1062 | dev_set_drvdata(&ccw_device->dev, adapter); | 1061 | dev_set_drvdata(&ccw_device->dev, adapter); |
1063 | 1062 | ||
1064 | if (zfcp_sysfs_adapter_create_files(&ccw_device->dev)) | 1063 | if (zfcp_sysfs_adapter_create_files(&ccw_device->dev)) |