summaryrefslogtreecommitdiff
path: root/drivers/lightnvm
diff options
context:
space:
mode:
authorAbhishek Sahu <absahu@codeaurora.org>2018-03-12 16:14:53 +0300
committerWolfram Sang <wsa@the-dreams.de>2018-03-24 15:19:28 +0300
commit6d5f37f166bb07b04b4d42e9d1f5427b7931cd3c (patch)
tree7323f6e31848b6e14f67498155292232e71cecf1 /drivers/lightnvm
parenteb422b539c1f39faf576826b54be93e84d9cb32a (diff)
downloadlinux-6d5f37f166bb07b04b4d42e9d1f5427b7931cd3c.tar.xz
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 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions