rtl8188eu: Change "==0" to "== 0"

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-08-15 13:22:58 -05:00
parent 83488f50f7
commit c137ff21e5
40 changed files with 242 additions and 242 deletions

View file

@ -352,7 +352,7 @@ void rtw_reordering_ctrl_timeout_handler(void *pcontext);
__inline static u8 *get_rxmem(union recv_frame *precvframe)
{
/* always return rx_head... */
if (precvframe==NULL)
if (precvframe== NULL)
return NULL;
return precvframe->u.hdr.rx_head;
@ -369,7 +369,7 @@ __inline static u8 *get_recvframe_data(union recv_frame *precvframe)
{
/* alwasy return rx_data */
if (precvframe==NULL)
if (precvframe== NULL)
return NULL;
return precvframe->u.hdr.rx_data;
@ -386,7 +386,7 @@ __inline static u8 *recvframe_push(union recv_frame *precvframe, sint sz)
* start. rx_data must be still larger than rx_head, after pushing.
*/
if (precvframe==NULL)
if (precvframe== NULL)
return NULL;
@ -411,7 +411,7 @@ __inline static u8 *recvframe_pull(union recv_frame *precvframe, sint sz)
/* used for extract sz bytes from rx_data, update rx_data and return the updated rx_data to the caller */
if (precvframe==NULL)
if (precvframe== NULL)
return NULL;
@ -437,7 +437,7 @@ __inline static u8 *recvframe_put(union recv_frame *precvframe, sint sz)
/* after putting, rx_tail must be still larger than rx_end. */
unsigned char * prev_rx_tail;
if (precvframe==NULL)
if (precvframe== NULL)
return NULL;
prev_rx_tail = precvframe->u.hdr.rx_tail;
@ -465,7 +465,7 @@ __inline static u8 *recvframe_pull_tail(union recv_frame *precvframe, sint sz)
/* used for extract sz bytes from rx_end, update rx_end and return the updated rx_end to the caller */
/* after pulling, rx_end must be still larger than rx_data. */
if (precvframe==NULL)
if (precvframe== NULL)
return NULL;
precvframe->u.hdr.rx_tail -= sz;
@ -488,7 +488,7 @@ __inline static unsigned char *get_rxbuf_desc(union recv_frame *precvframe)
{
unsigned char *buf_desc;
if (precvframe==NULL)
if (precvframe== NULL)
return NULL;
return buf_desc;
}