summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/tether.h
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2010-07-12 18:17:08 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-22 11:43:05 -0700
commit5e03f73fe8c01e301fdf38954297a1237be1ab26 (patch)
tree6902bfcca808c6bc3adbc4420c7672fe5e767201 /drivers/staging/vt6656/tether.h
parent020c0a9a78f8d5215f09164f7e5c5252dea098f9 (diff)
downloadlinux-stable-5e03f73fe8c01e301fdf38954297a1237be1ab26.tar.gz
linux-stable-5e03f73fe8c01e301fdf38954297a1237be1ab26.tar.bz2
linux-stable-5e03f73fe8c01e301fdf38954297a1237be1ab26.zip
staging: vt6656: replaced MIN_PACKET_LEN with ETH_ZLEN
Removed custom macro with one from include/linux/if_ether.h. Also removed MIN_DATA_LEN as it is not used elsewhere. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/tether.h')
-rw-r--r--drivers/staging/vt6656/tether.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/vt6656/tether.h b/drivers/staging/vt6656/tether.h
index 580f5bca1d1a..09d40a4c57ac 100644
--- a/drivers/staging/vt6656/tether.h
+++ b/drivers/staging/vt6656/tether.h
@@ -39,11 +39,6 @@
#define U_ETHER_ADDR_STR_LEN (ETH_ALEN * 2 + 1)
// Ethernet address string length
-#define MIN_DATA_LEN 46 // min data length
-
-#define MIN_PACKET_LEN (MIN_DATA_LEN + ETH_HLEN)
- // 60
- // min total packet length (tx)
#define MAX_PACKET_LEN (ETH_DATA_LEN + ETH_HLEN)
// 1514
// max total packet length (tx)