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>
This commit is contained in:

committed by
Martin K. Petersen

parent
63273cb401
commit
6b1f8376dc
@@ -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);
|
||||
|
Reference in New Issue
Block a user