[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180716.133558.811562717227609278.davem@davemloft.net>
Date: Mon, 16 Jul 2018 13:35:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gustavo@...eddedor.com
Cc: linux-usb@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] net: usb: hso: use swap macro in hso_kick_transmit
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Date: Thu, 12 Jul 2018 14:43:20 -0500
> Make use of the swap macro and remove unnecessary variable *temp*.
> This makes the code easier to read and maintain. Also, slightly
> refactor some code due to the removal of *temp*.
>
> This code was detected with the help of Coccinelle.
>
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
> ---
> Changes in v2:
> - Check serial->tx_data instead of temp.
Applied to net-next.
Powered by blists - more mailing lists