summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2012-01-12 12:38:06 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-08 17:07:39 -0800
commit410c52ed66cabd1837a87b37348d92a17f01c199 (patch)
tree20838e77329fc31eac61a0b599dfad6d8104db1f
parent6b2f949559b26448cc6d161d62341281db42c909 (diff)
downloadlinux-stable-410c52ed66cabd1837a87b37348d92a17f01c199.tar.gz
linux-stable-410c52ed66cabd1837a87b37348d92a17f01c199.tar.bz2
linux-stable-410c52ed66cabd1837a87b37348d92a17f01c199.zip
Staging: hv: storvsc: Get rid of some unused defines
Get rid of some unused defines. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/hv/storvsc_drv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c
index 9f0745800041..d34e3ca4b956 100644
--- a/drivers/staging/hv/storvsc_drv.c
+++ b/drivers/staging/hv/storvsc_drv.c
@@ -81,18 +81,6 @@ static inline u16 storvsc_get_version(u8 major, u8 minor)
#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. */
enum vstor_packet_operation {
VSTOR_OPERATION_COMPLETE_IO = 1,