Gustavo A.,
> Make use of the swap macro and remove unnecessary variable tmp.
> This makes the code easier to read and maintain.
Applied to 4.16/scsi-queue. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
Quoting "Rangankar, Manish" :
On 04/11/17 1:28 AM, "Gustavo A. R. Silva" wrote:
Make use of the swap macro and remove unnecessary variable tmp.
This makes the code easier to read and maintain.
This code was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva
---
drive
On 04/11/17 1:28 AM, "Gustavo A. R. Silva" wrote:
>Make use of the swap macro and remove unnecessary variable tmp.
>This makes the code easier to read and maintain.
>
>This code was detected with the help of Coccinelle.
>
>Signed-off-by: Gustavo A. R. Silva
>---
> drivers/scsi/bnx2i/bnx2i_hwi.c
Make use of the swap macro and remove unnecessary variable tmp.
This makes the code easier to read and maintain.
This code was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva
---
drivers/scsi/bnx2i/bnx2i_hwi.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(
4 matches
Mail list logo