From: Christof Schmitt Date: Tue, 28 Aug 2007 07:30:50 +0000 (+0200) Subject: [SCSI] zfcp: Remove unnecessary assignment X-Git-Tag: v2.6.24-rc1~1290^2~149 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6ddd90a5b1618523dbfe3a11c50945f6660135a0;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Swen Schillig Signed-off-by: James Bottomley --- diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c index 90aa53fc4f3..eb3af41a3c1 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) /* 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))