[PATCH] Remove unused MTU variable in Gattrib struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The MTU variable in Gattrib struct was not beind used for any operation
so it should be removed.
---
 attrib/gattrib.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/attrib/gattrib.c b/attrib/gattrib.c
index ef10b5b..c4cfd95 100644
--- a/attrib/gattrib.c
+++ b/attrib/gattrib.c
@@ -41,7 +41,6 @@
 struct _GAttrib {
 	GIOChannel *io;
 	gint refs;
-	gint mtu;
 	guint read_watch;
 	guint write_watch;
 	guint timeout_watch;
@@ -397,7 +396,6 @@ GAttrib *g_attrib_new(GIOChannel *io)
 		return NULL;
 
 	attrib->io = g_io_channel_ref(io);
-	attrib->mtu = 512;
 	attrib->queue = g_queue_new();
 
 	attrib->read_watch = g_io_add_watch(attrib->io,
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux