Skip to contentSkip to conversation

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

PATCH New Maciek Fijalkowski 1 participant 1 message Feb 13, 2018 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/staging/rtl8723bs/include/drv_types.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8723bs/include/drv_types.h +2 -2
index 32129ac8e169..16b81b1a3f33 100644
@@ -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 */
Signature · 1 line
2.16.1