Commit 77ab45a4 authored by Maciek Fijalkowski's avatar Maciek Fijalkowski Committed by Greg Kroah-Hartman

staging: rtl8723bs: make 'myid' function to follow kernel coding rules

Checkpatch.pl produced errors regarding inline keyword placement and
parenthesis around returned value in 'myid'.
Place inline after static keyword and remove mentioned parenthesis.
Signed-off-by: default avatarMaciek Fijalkowski <macfij7@wp.pl>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 380edef0
......@@ -692,9 +692,9 @@ int rtw_suspend_wow(struct adapter *padapter);
int rtw_resume_process_wow(struct adapter *padapter);
#endif
__inline static u8 *myid(struct eeprom_priv *peepriv)
static inline u8 *myid(struct eeprom_priv *peepriv)
{
return (peepriv->mac_addr);
return peepriv->mac_addr;
}
/* HCI Related header file */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment