diff mbox

[OPW,kernel,08/13] staging: rtl8187se: remove an unnecessary line continuation

Message ID 1382316061-31542-9-git-send-email-teobaluta@gmail.com
State New, archived
Headers show

Commit Message

Teodora Baluta Oct. 21, 2013, 12:40 a.m. UTC
This patch fixed the following checkpatch warning:
WARNING: Avoid unnecessary line continuations

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
---
 drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Josh Triplett Oct. 21, 2013, 7:03 p.m. UTC | #1
On Mon, Oct 21, 2013 at 03:40:56AM +0300, Teodora Baluta wrote:
> This patch fixed the following checkpatch warning:
> WARNING: Avoid unnecessary line continuations
> 
> Signed-off-by: Teodora Baluta <teobaluta@gmail.com>

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

>  drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> index 0ebab75..8c89209 100644
> --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> @@ -291,7 +291,7 @@ ieee80211_classify(struct sk_buff *skb, struct ieee80211_network *network)
>  	}
>  
>  	if (eh->ether_type == __constant_htons(ETHERTYPE_IP)) {
> -		const struct iphdr *ih = (struct iphdr *)(skb->data + \
> +		const struct iphdr *ih = (struct iphdr *)(skb->data +
>  		    sizeof(struct ether_header));
>  		wme_UP = (ih->tos >> 5)&0x07;
>  	} else if (vlan_tx_tag_present(skb)) {/* vtag packet */
> -- 
> 1.7.10.4
> 
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
diff mbox

Patch

diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
index 0ebab75..8c89209 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
@@ -291,7 +291,7 @@  ieee80211_classify(struct sk_buff *skb, struct ieee80211_network *network)
 	}
 
 	if (eh->ether_type == __constant_htons(ETHERTYPE_IP)) {
-		const struct iphdr *ih = (struct iphdr *)(skb->data + \
+		const struct iphdr *ih = (struct iphdr *)(skb->data +
 		    sizeof(struct ether_header));
 		wme_UP = (ih->tos >> 5)&0x07;
 	} else if (vlan_tx_tag_present(skb)) {/* vtag packet */