[SCSI] zfcp: Remove unnecessary assignment
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Tue, 28 Aug 2007 07:30:50 +0000 (09:30 +0200)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:46:21 +0000 (14:46 -0400)
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>
drivers/s390/scsi/zfcp_aux.c

index 90aa53fc4f3e40cfb4fadee0e7f72e176ec45265..eb3af41a3c1c4d971756943062447474dba38f9e 100644 (file)
@@ -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))