* [PATCH] Remove unused MTU variable in Gattrib struct
@ 2011-02-24 21:20 Bruna Moreira
2011-02-24 21:38 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Bruna Moreira @ 2011-02-24 21:20 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Bruna Moreira
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Remove unused MTU variable in Gattrib struct
2011-02-24 21:20 [PATCH] Remove unused MTU variable in Gattrib struct Bruna Moreira
@ 2011-02-24 21:38 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2011-02-24 21:38 UTC (permalink / raw)
To: Bruna Moreira; +Cc: linux-bluetooth
Hi Bruna,
On Thu, Feb 24, 2011, Bruna Moreira wrote:
> 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(-)
Thanks. Pushed upstream after a couple of typo fixes in the commit
message.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-24 21:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 21:20 [PATCH] Remove unused MTU variable in Gattrib struct Bruna Moreira
2011-02-24 21:38 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox