Skip to content

Commit

Permalink
[SCSI] zfcp: Remove unnecessary assignment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christof Schmitt authored and James Bottomley committed Oct 12, 2007
1 parent cc16ceb commit 6ddd90a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/s390/scsi/zfcp_aux.c
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,6 @@ zfcp_adapter_enqueue(struct ccw_device *ccw_device)
/* mark adapter unusable as long as sysfs registration is not complete */
atomic_set_mask(ZFCP_STATUS_COMMON_REMOVE, &adapter->status);

adapter->ccw_device = ccw_device;
dev_set_drvdata(&ccw_device->dev, adapter);

if (zfcp_sysfs_adapter_create_files(&ccw_device->dev))
Expand Down

0 comments on commit 6ddd90a

Please sign in to comment.