OSDN Git Service

rtl8xxxu: Simplify code setting TX buffer boundary
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 19 Aug 2016 21:46:31 +0000 (17:46 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 16:57:17 +0000 (19:57 +0300)
commite02aa3eef786aab82f9929fea25f5f7e9f77ba69
treea20ba4f34d9dc1ca1cb51982f084a459d72b6bee
parentefeb8ce7a98cfb60932c6a53ce86359bf6b33b67
rtl8xxxu: Simplify code setting TX buffer boundary

With all devices now offering fops->total_page_num, get rid of the
if mess for setting the TX buffer boundary.

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