Skip to content

Commit

Permalink
staging: rtl8187se: fix pointer and return statement's syntax
Browse files Browse the repository at this point in the history
Use the common kernel coding style.

Signed-off-by: Martin Kepplinger <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
merge authored and gregkh committed Apr 18, 2014
1 parent d1a9107 commit 26827c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down Expand Up @@ -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)) {
Expand All @@ -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. */
Expand Down

0 comments on commit 26827c8

Please sign in to comment.