diff options
author | Maggie Zhang <xmzhang@brocade.com> | 2010-12-09 22:12:32 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-21 13:32:56 -0500 |
commit | f16a17507b09e10e0cccc4d675ccbfe030d51ef1 (patch) | |
tree | 4ead59bd8bfbd06f22dd18040b713fca998e1336 /drivers/scsi/bfa/bfad_attr.c | |
parent | f314878ab95d4802ddde066096f7b30087cea7ba (diff) |
[SCSI] bfa: remove all OS wrappers
Remove OS wrapper functions/macros, and as a result remove bfa_os_inc.h.
Signed-off-by: Maggie Zhang <xmzhang@brocade.com>
Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfad_attr.c')
-rw-r--r-- | drivers/scsi/bfa/bfad_attr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/bfa/bfad_attr.c b/drivers/scsi/bfa/bfad_attr.c index d727f055bd8a..a94ea4235433 100644 --- a/drivers/scsi/bfa/bfad_attr.c +++ b/drivers/scsi/bfa/bfad_attr.c | |||
@@ -40,7 +40,7 @@ bfad_im_get_starget_port_id(struct scsi_target *starget) | |||
40 | bfad = im_port->bfad; | 40 | bfad = im_port->bfad; |
41 | spin_lock_irqsave(&bfad->bfad_lock, flags); | 41 | spin_lock_irqsave(&bfad->bfad_lock, flags); |
42 | 42 | ||
43 | itnim = bfad_os_get_itnim(im_port, starget->id); | 43 | itnim = bfad_get_itnim(im_port, starget->id); |
44 | if (itnim) | 44 | if (itnim) |
45 | fc_id = bfa_fcs_itnim_get_fcid(&itnim->fcs_itnim); | 45 | fc_id = bfa_fcs_itnim_get_fcid(&itnim->fcs_itnim); |
46 | 46 | ||
@@ -66,7 +66,7 @@ bfad_im_get_starget_node_name(struct scsi_target *starget) | |||
66 | bfad = im_port->bfad; | 66 | bfad = im_port->bfad; |
67 | spin_lock_irqsave(&bfad->bfad_lock, flags); | 67 | spin_lock_irqsave(&bfad->bfad_lock, flags); |
68 | 68 | ||
69 | itnim = bfad_os_get_itnim(im_port, starget->id); | 69 | itnim = bfad_get_itnim(im_port, starget->id); |
70 | if (itnim) | 70 | if (itnim) |
71 | node_name = bfa_fcs_itnim_get_nwwn(&itnim->fcs_itnim); | 71 | node_name = bfa_fcs_itnim_get_nwwn(&itnim->fcs_itnim); |
72 | 72 | ||
@@ -92,7 +92,7 @@ bfad_im_get_starget_port_name(struct scsi_target *starget) | |||
92 | bfad = im_port->bfad; | 92 | bfad = im_port->bfad; |
93 | spin_lock_irqsave(&bfad->bfad_lock, flags); | 93 | spin_lock_irqsave(&bfad->bfad_lock, flags); |
94 | 94 | ||
95 | itnim = bfad_os_get_itnim(im_port, starget->id); | 95 | itnim = bfad_get_itnim(im_port, starget->id); |
96 | if (itnim) | 96 | if (itnim) |
97 | port_name = bfa_fcs_itnim_get_pwwn(&itnim->fcs_itnim); | 97 | port_name = bfa_fcs_itnim_get_pwwn(&itnim->fcs_itnim); |
98 | 98 | ||
@@ -111,7 +111,7 @@ bfad_im_get_host_port_id(struct Scsi_Host *shost) | |||
111 | struct bfad_port_s *port = im_port->port; | 111 | struct bfad_port_s *port = im_port->port; |
112 | 112 | ||
113 | fc_host_port_id(shost) = | 113 | fc_host_port_id(shost) = |
114 | bfa_os_hton3b(bfa_fcs_lport_get_fcid(port->fcs_port)); | 114 | bfa_hton3b(bfa_fcs_lport_get_fcid(port->fcs_port)); |
115 | } | 115 | } |
116 | 116 | ||
117 | /* | 117 | /* |
@@ -487,7 +487,7 @@ bfad_im_vport_delete(struct fc_vport *fc_vport) | |||
487 | wait_for_completion(vport->comp_del); | 487 | wait_for_completion(vport->comp_del); |
488 | 488 | ||
489 | free_scsi_host: | 489 | free_scsi_host: |
490 | bfad_os_scsi_host_free(bfad, im_port); | 490 | bfad_scsi_host_free(bfad, im_port); |
491 | 491 | ||
492 | kfree(vport); | 492 | kfree(vport); |
493 | 493 | ||