]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8xxxu: Clean up llt_init() API
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 Sep 2016 01:19:27 +0000 (21:19 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 26 Sep 2016 17:41:36 +0000 (20:41 +0300)
commit7cc0d80f15839543d2c5fc9b1873e2fe38b91b00
tree3cb226fe13ea146efb989362acff1d21ff397012
parent7d686f5d5f2d616defe5f7250efc7e43f9eb1d46
rtl8xxxu: Clean up llt_init() API

Remove last_tx_page argument from the llt_init() function. The
rtl8xxxu_fileops structure contains the correct TX_TOTAL_PAGE_NUM
value for the device, and rtl8xxxu_auto_llt_table() doesn't need to
know the value in the first place.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c