Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268399
b: refs/heads/master
c: 49e9563
h: refs/heads/master
i:
  268397: 66391cf
  268395: 5f07abe
  268391: effc4e3
  268383: cf90519
v: v3
  • Loading branch information
David Kilroy authored and Greg Kroah-Hartman committed Sep 16, 2011
1 parent b4678d8 commit b914351
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 35 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 543fd0a349dbb2f6ab896ec97cedbbd6fe4d1ee6
refs/heads/master: 49e9563d4e80c42205b87e7ddfbdaf6ea5e6fb06
23 changes: 2 additions & 21 deletions trunk/drivers/staging/wlags49_h2/hcf.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,6 @@ HCF_STATIC hcf_16* BASED xxxx[ ] = {
************************** T O P L E V E L H C F R O U T I N E S **************************************
************************************************************************************************************/

#if (HCF_DL_ONLY) == 0
/************************************************************************************************************
*
*.MODULE int hcf_action( IFBP ifbp, hcf_16 action )
Expand Down Expand Up @@ -834,7 +833,6 @@ hcf_action( IFBP ifbp, hcf_16 action )
HCFLOGEXIT( HCF_TRACE_ACTION );
return rc;
} // hcf_action
#endif // HCF_DL_ONLY


/************************************************************************************************************
Expand Down Expand Up @@ -1854,7 +1852,6 @@ hcf_dma_tx_put( IFBP ifbp, DESC_STRCT *descp, hcf_16 tx_cntl )

#endif // HCF_DMA

#if (HCF_DL_ONLY) == 0
/************************************************************************************************************
*
*.MODULE hcf_8 hcf_encap( wci_bufp type )
Expand Down Expand Up @@ -1914,7 +1911,6 @@ hcf_encap( wci_bufp type )
return rc;
} // hcf_encap
#endif // HCF_ENCAP
#endif // HCF_DL_ONLY


/************************************************************************************************************
Expand Down Expand Up @@ -2330,7 +2326,6 @@ hcf_put_info( IFBP ifbp, LTVP ltvp )
} // hcf_put_info


#if (HCF_DL_ONLY) == 0
/************************************************************************************************************
*
*.MODULE int hcf_rcv_msg( IFBP ifbp, DESC_STRCT *descp, unsigned int offset )
Expand Down Expand Up @@ -2490,10 +2485,8 @@ hcf_rcv_msg( IFBP ifbp, DESC_STRCT *descp, unsigned int offset )
HCFLOGEXIT( HCF_TRACE_RCV_MSG );
return rc;
} // hcf_rcv_msg
#endif // HCF_DL_ONLY


#if (HCF_DL_ONLY) == 0
/************************************************************************************************************
*
*.MODULE int hcf_send_msg( IFBP ifbp, DESC_STRCT *descp, hcf_16 tx_cntl )
Expand Down Expand Up @@ -2804,10 +2797,8 @@ hcf_send_msg( IFBP ifbp, DESC_STRCT *descp, hcf_16 tx_cntl )
HCFLOGEXIT( HCF_TRACE_SEND_MSG );
return rc;
} // hcf_send_msg
#endif // HCF_DL_ONLY


#if (HCF_DL_ONLY) == 0
/************************************************************************************************************
*
*.MODULE int hcf_service_nic( IFBP ifbp, wci_bufp bufp, unsigned int len )
Expand Down Expand Up @@ -3186,7 +3177,6 @@ hcf_service_nic( IFBP ifbp, wci_bufp bufp, unsigned int len )
HCFLOGEXIT( HCF_TRACE_SERVICE_NIC );
return rc;
} // hcf_service_nic
#endif // HCF_DL_ONLY


/************************************************************************************************************
Expand Down Expand Up @@ -3517,7 +3507,6 @@ calibrate( IFBP ifbp )
#endif // HCF_PROT_TIME


#if (HCF_DL_ONLY) == 0
#if (HCF_TYPE) & HCF_TYPE_WPA
/************************************************************************************************************
*
Expand Down Expand Up @@ -3565,7 +3554,6 @@ check_mic( IFBP ifbp )
return rc;
} // check_mic
#endif // HCF_TYPE_WPA
#endif // HCF_DL_ONLY


/************************************************************************************************************
Expand Down Expand Up @@ -3879,7 +3867,6 @@ fw_printf(IFBP ifbp, CFG_FW_PRINTF_STRCT FAR *ltvp)
#endif // HCF_ASSERT_PRINTF


#if (HCF_DL_ONLY) == 0
/************************************************************************************************************
*
*.SUBMODULE hcf_16 get_fid( IFBP ifbp )
Expand Down Expand Up @@ -3943,7 +3930,6 @@ get_fid( IFBP ifbp )
}
return fid;
} // get_fid
#endif // HCF_DL_ONLY


/************************************************************************************************************
Expand Down Expand Up @@ -4232,7 +4218,7 @@ init( IFBP ifbp )
}
}
#endif // MSF_COMPONENT_ID
#if (HCF_DL_ONLY) == 0 /* 28 */

if ( rc == HCF_SUCCESS && ifbp->IFB_FWIdentity.comp_id >= COMP_ID_FW_STA ) {
PROT_CNT_INI;
/**************************************************************************************
Expand All @@ -4258,13 +4244,12 @@ init( IFBP ifbp )
}
//#endif // ALLOC_15
}
#endif // HCF_DL_ONLY

HCFASSERT( rc == HCF_SUCCESS, rc );
HCFLOGEXIT( HCF_TRACE_INIT );
return rc;
} // init

#if (HCF_DL_ONLY) == 0
/************************************************************************************************************
*
*.SUBMODULE void isr_info( IFBP ifbp )
Expand Down Expand Up @@ -4346,7 +4331,6 @@ isr_info( IFBP ifbp )
}
return;
} // isr_info
#endif // HCF_DL_ONLY

//
//
Expand Down Expand Up @@ -4384,7 +4368,6 @@ isr_info( IFBP ifbp )
//
// return;
//} // isr_info
//#endif // HCF_DL_ONLY


/************************************************************************************************************
Expand Down Expand Up @@ -4669,7 +4652,6 @@ put_info( IFBP ifbp, LTVP ltvp )
} // put_info


#if (HCF_DL_ONLY) == 0
/************************************************************************************************************
*
*.SUBMODULE int put_info_mb( IFBP ifbp, CFG_MB_INFO_STRCT FAR * ltvp )
Expand Down Expand Up @@ -4783,7 +4765,6 @@ put_info_mb( IFBP ifbp, CFG_MB_INFO_STRCT FAR * ltvp )
} // put_info_mb

#endif // HCF_EXT_MB
#endif // HCF_DL_ONLY


/************************************************************************************************************
Expand Down
13 changes: 0 additions & 13 deletions trunk/drivers/staging/wlags49_h2/hcfcfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -479,10 +479,6 @@ typedef unsigned long hcf_32;
#define HCF_BIG_ENDIAN 0
#endif // HCF_BIG_ENDIAN

#if ! defined HCF_DL_ONLY
#define HCF_DL_ONLY 0
#endif // HCF_DL_ONLY

#if ! defined HCF_DMA
#define HCF_DMA 0
#endif // HCF_DMA
Expand Down Expand Up @@ -540,11 +536,6 @@ typedef unsigned long hcf_32;
#define HCF_BIG_ENDIAN 1 //just for convenience of generating cfg_hcf_opt
#endif // HCF_BIG_ENDIAN

#if HCF_DL_ONLY
#undef HCF_DL_ONLY
#define HCF_DL_ONLY 1 //just for convenience of generating cfg_hcf_opt
#endif // HCF_DL_ONLY

#if HCF_DMA
#undef HCF_DMA
#define HCF_DMA 1 //just for convenience of generating cfg_hcf_opt
Expand Down Expand Up @@ -752,10 +743,6 @@ err: these macros are not used consistently;
err: invalid value for HCF_BIG_ENDIAN;
#endif // HCF_BIG_ENDIAN

#if HCF_DL_ONLY != 0 && HCF_DL_ONLY != 1
err: invalid value for HCF_DL_ONLY;
#endif // HCF_DL_ONLY

#if HCF_DMA != 0 && HCF_DMA != 1
err: invalid value for HCF_DMA;
#endif // HCF_DMA
Expand Down

0 comments on commit b914351

Please sign in to comment.