From: Martin Kepplinger Date: Wed, 9 Apr 2014 07:25:55 +0000 (+0200) Subject: staging: rtl8187se: fix pointer and return statement's syntax X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=26827c836c272a88492b0d426cf60f00d0005b19;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: rtl8187se: fix pointer and return statement's syntax Use the common kernel coding style. Signed-off-by: Martin Kepplinger Reviewed-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c index 0dc5ae414270..e6257b3b5aa8 100644 --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c @@ -180,7 +180,7 @@ static inline int ieee80211_put_snap(u8 *data, u16 h_proto) int ieee80211_encrypt_fragment(struct ieee80211_device *ieee, struct sk_buff *frag, int hdr_len) { - struct ieee80211_crypt_data* crypt = ieee->crypt[ieee->tx_keyidx]; + struct ieee80211_crypt_data *crypt = ieee->crypt[ieee->tx_keyidx]; int res; /* @@ -285,7 +285,7 @@ static int ieee80211_classify(struct sk_buff *skb, if (!network->QoS_Enable) { skb->priority = 0; - return(wme_UP); + return wme_UP; } if (eh->ether_type == __constant_htons(ETHERTYPE_IP)) { @@ -304,7 +304,7 @@ static int ieee80211_classify(struct sk_buff *skb, } skb->priority = wme_UP; - return(wme_UP); + return wme_UP; } /* SKBs are added to the ieee->tx_queue. */