提交 410c52ed 编写于 作者: K K. Y. Srinivasan 提交者: Greg Kroah-Hartman

Staging: hv: storvsc: Get rid of some unused defines

Get rid of some unused defines.
Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 6b2f9495
...@@ -81,18 +81,6 @@ static inline u16 storvsc_get_version(u8 major, u8 minor) ...@@ -81,18 +81,6 @@ static inline u16 storvsc_get_version(u8 major, u8 minor)
#define VMSTOR_CURRENT_MINOR 2 #define VMSTOR_CURRENT_MINOR 2
/*
* This will get replaced with the max transfer length that is possible on
* the host adapter.
* The max transfer length will be published when we offer a vmbus channel.
*/
#define MAX_TRANSFER_LENGTH 0x40000
#define DEFAULT_PACKET_SIZE (sizeof(struct vmdata_gpa_direct) + \
sizeof(struct vstor_packet) + \
sizesizeof(u64) * (MAX_TRANSFER_LENGTH / PAGE_SIZE)))
/* Packet structure describing virtual storage requests. */ /* Packet structure describing virtual storage requests. */
enum vstor_packet_operation { enum vstor_packet_operation {
VSTOR_OPERATION_COMPLETE_IO = 1, VSTOR_OPERATION_COMPLETE_IO = 1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册