Commit 2f1def99 authored by navin patidar's avatar navin patidar Committed by Greg Kroah-Hartman
Browse files

staging: rtl8188eu: rtw_cmd.h: Remove unused macro and structure

parent 72b2fc51
Loading
Loading
Loading
Loading
+0 −9
Original line number Original line Diff line number Diff line
@@ -74,15 +74,6 @@ do {\
	pcmd->rspsz = 0;\
	pcmd->rspsz = 0;\
} while (0)
} while (0)


struct c2h_evt_hdr {
	u8 id:4;
	u8 plen:4;
	u8 seq;
	u8 payload[0];
};

#define c2h_evt_exist(c2h_evt) ((c2h_evt)->id || (c2h_evt)->plen)

u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj);
u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj);
struct cmd_obj *rtw_dequeue_cmd(struct cmd_priv *pcmdpriv);
struct cmd_obj *rtw_dequeue_cmd(struct cmd_priv *pcmdpriv);
void rtw_free_cmd_obj(struct cmd_obj *pcmd);
void rtw_free_cmd_obj(struct cmd_obj *pcmd);