[PATCH 3/5] Staging: rtl8192u: ieee80211: Fix coding style errors

Dan Carpenter dan.carpenter at oracle.com
Mon May 13 20:33:52 UTC 2019


On Tue, May 14, 2019 at 01:09:50AM +0530, Puranjay Mohan wrote:
> @@ -746,12 +730,12 @@ int ieee80211_xmit(struct sk_buff *skb, struct net_device *dev)
>  		txb->payload_size = __cpu_to_le16(bytes);
>  
>  		//if (ieee->current_network.QoS_Enable)
> -		if(qos_actived)
> -		{
> +		if (qos_actived)
> +
>  			txb->queue_index = UP2AC(skb->priority);

No blank line here either.

> -		} else {
> +		else
>  			txb->queue_index = WME_AC_BK;
> -		}
> +

Or here.

regards,
dan carpenter



More information about the devel mailing list