diff options
author | Abhishek Sahu <absahu@codeaurora.org> | 2018-03-12 14:14:53 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-03-24 13:19:28 +0100 |
commit | 6d5f37f166bb07b04b4d42e9d1f5427b7931cd3c (patch) | |
tree | 7323f6e31848b6e14f67498155292232e71cecf1 /firmware | |
parent | i2c: qup: minor code reorganization for use_dma (diff) | |
download | linux-6d5f37f166bb07b04b4d42e9d1f5427b7931cd3c.tar.xz linux-6d5f37f166bb07b04b4d42e9d1f5427b7931cd3c.zip |
i2c: qup: remove redundant variables for BAM SG count
The rx_nents and tx_nents are redundant. rx_buf and tx_buf can
be used for total number of SG entries. Since rx_buf and tx_buf
give the impression that it is buffer instead of count so rename
it to tx_cnt and rx_cnt for giving it more meaningful variable
name.
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Reviewed-by: Austin Christ <austinwc@codeaurora.org>
Reviewed-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions