Commit 26827c83 authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Greg Kroah-Hartman

staging: rtl8187se: fix pointer and return statement's syntax

Use the common kernel coding style.
Signed-off-by: default avatarMartin Kepplinger <martink@posteo.de>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d1a91071
...@@ -180,7 +180,7 @@ static inline int ieee80211_put_snap(u8 *data, u16 h_proto) ...@@ -180,7 +180,7 @@ static inline int ieee80211_put_snap(u8 *data, u16 h_proto)
int ieee80211_encrypt_fragment(struct ieee80211_device *ieee, int ieee80211_encrypt_fragment(struct ieee80211_device *ieee,
struct sk_buff *frag, int hdr_len) 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; int res;
/* /*
...@@ -285,7 +285,7 @@ static int ieee80211_classify(struct sk_buff *skb, ...@@ -285,7 +285,7 @@ static int ieee80211_classify(struct sk_buff *skb,
if (!network->QoS_Enable) { if (!network->QoS_Enable) {
skb->priority = 0; skb->priority = 0;
return(wme_UP); return wme_UP;
} }
if (eh->ether_type == __constant_htons(ETHERTYPE_IP)) { if (eh->ether_type == __constant_htons(ETHERTYPE_IP)) {
...@@ -304,7 +304,7 @@ static int ieee80211_classify(struct sk_buff *skb, ...@@ -304,7 +304,7 @@ static int ieee80211_classify(struct sk_buff *skb,
} }
skb->priority = wme_UP; skb->priority = wme_UP;
return(wme_UP); return wme_UP;
} }
/* SKBs are added to the ieee->tx_queue. */ /* SKBs are added to the ieee->tx_queue. */
......
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