commit | f35cb48ef8d18afbd262db800508b8512f6c09ad | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | Fri Nov 03 14:58:39 2017 -0500 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Dec 04 20:32:52 2017 -0500 |
tree | 080436178853b2dffac8bc2ea071018d6df0cd47 | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 [diff] |
scsi: bnx2i: bnx2i_hwi: use swap macro in bnx2i_send_iscsi_nopout 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 <garsilva@embeddedor.com> Acked-by: Manish Rangankar <Manish.Rangankar@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>