diff options
| author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2009-11-24 10:54:12 -0500 |
|---|---|---|
| committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:02:14 -0500 |
| commit | 800c0cad962dcf630cabf3efdc5983619e73d4c9 (patch) | |
| tree | 4d593b6ec683b524bb2e503483696218aa1eb167 /drivers/s390/scsi/zfcp_def.h | |
| parent | bd0072ecc449fb2ea8f6a2c9f6ff308f3ae0b078 (diff) | |
[SCSI] zfcp: Remove ZFCP_DID_MASK
Instead of assigning 4 bytes with the highest byte masked out, use a 3
byte array with the ntoh24 and h24ton helper functions, thus
eliminating the need for the ZFCP_DID_MASK.
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>
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
| -rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index c00aa2b174a1..ea11b4e45cdc 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
| @@ -71,10 +71,6 @@ | |||
| 71 | /* timeout value for "default timer" for fsf requests */ | 71 | /* timeout value for "default timer" for fsf requests */ |
| 72 | #define ZFCP_FSF_REQUEST_TIMEOUT (60*HZ) | 72 | #define ZFCP_FSF_REQUEST_TIMEOUT (60*HZ) |
| 73 | 73 | ||
| 74 | /*************** FIBRE CHANNEL PROTOCOL SPECIFIC DEFINES ********************/ | ||
| 75 | |||
| 76 | #define ZFCP_DID_MASK 0x00FFFFFF | ||
| 77 | |||
| 78 | /*************** ADAPTER/PORT/UNIT AND FSF_REQ STATUS FLAGS ******************/ | 74 | /*************** ADAPTER/PORT/UNIT AND FSF_REQ STATUS FLAGS ******************/ |
| 79 | 75 | ||
| 80 | /* | 76 | /* |
