[SCSI] bfa: fix frame size over 1024 compile warning
Fix compile warning for frame size over 1024 in gcc 4.4. Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:

committed by
James Bottomley

parent
5344026065
commit
e0a08a30c9
@@ -861,20 +861,6 @@ bfad_pci_uninit(struct pci_dev *pdev, struct bfad_s *bfad)
|
||||
pci_set_drvdata(pdev, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
bfad_fcs_port_cfg(struct bfad_s *bfad)
|
||||
{
|
||||
struct bfa_lport_cfg_s port_cfg;
|
||||
struct bfa_port_attr_s attr;
|
||||
char symname[BFA_SYMNAME_MAXLEN];
|
||||
|
||||
sprintf(symname, "%s-%d", BFAD_DRIVER_NAME, bfad->inst_no);
|
||||
memcpy(port_cfg.sym_name.symname, symname, strlen(symname));
|
||||
bfa_fcport_get_attr(&bfad->bfa, &attr);
|
||||
port_cfg.nwwn = attr.nwwn;
|
||||
port_cfg.pwwn = attr.pwwn;
|
||||
}
|
||||
|
||||
bfa_status_t
|
||||
bfad_drv_init(struct bfad_s *bfad)
|
||||
{
|
||||
@@ -1065,9 +1051,6 @@ bfad_start_ops(struct bfad_s *bfad) {
|
||||
bfa_fcs_init(&bfad->bfa_fcs);
|
||||
spin_unlock_irqrestore(&bfad->bfad_lock, flags);
|
||||
|
||||
/* PPORT FCS config */
|
||||
bfad_fcs_port_cfg(bfad);
|
||||
|
||||
retval = bfad_cfg_pport(bfad, BFA_LPORT_ROLE_FCP_IM);
|
||||
if (retval != BFA_STATUS_OK) {
|
||||
if (bfa_sm_cmp_state(bfad, bfad_sm_initializing))
|
||||
|
Reference in New Issue
Block a user