summaryrefslogtreecommitdiff
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2018-03-28 03:48:39 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-04-19 02:32:52 +0300
commit6b1f8376dc34fb3b728672ed6e06751f26b3b225 (patch)
tree8d682b191336541cdebeef8ea3bb1aef81c188f7 /drivers/net/hyperv/hyperv_net.h
parent63273cb40101b6f303a5493f1bdf629d4ab3746b (diff)
downloadlinux-6b1f8376dc34fb3b728672ed6e06751f26b3b225.tar.xz
scsi: netvsc: Use the vmbus function to calculate ring buffer percentage
In Vmbus, we have defined a function to calculate available ring buffer percentage to write. Use that function and remove netvsc's private version. [mkp: typo] Signed-off-by: Long Li <longli@microsoft.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r--drivers/net/hyperv/hyperv_net.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h
index 960f06141472..d965d022a941 100644
--- a/drivers/net/hyperv/hyperv_net.h
+++ b/drivers/net/hyperv/hyperv_net.h
@@ -189,7 +189,6 @@ struct netvsc_device;
struct net_device_context;
extern u32 netvsc_ring_bytes;
-extern struct reciprocal_value netvsc_ring_reciprocal;
struct netvsc_device *netvsc_device_add(struct hv_device *device,
const struct netvsc_device_info *info);