From: Bruna Moreira <bruna.moreira@openbossa.org>
To: linux-bluetooth@vger.kernel.org
Cc: Bruna Moreira <bruna.moreira@openbossa.org>
Subject: [PATCH] Remove unused MTU variable in Gattrib struct
Date: Thu, 24 Feb 2011 17:20:52 -0400 [thread overview]
Message-ID: <1298582452-18032-1-git-send-email-bruna.moreira@openbossa.org> (raw)
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
next reply other threads:[~2011-02-24 21:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-24 21:20 Bruna Moreira [this message]
2011-02-24 21:38 ` [PATCH] Remove unused MTU variable in Gattrib struct Johan Hedberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1298582452-18032-1-git-send-email-bruna.moreira@openbossa.org \
--to=bruna.moreira@openbossa.org \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox