From: Han Shen <shenhan@google.com>
To: viro@zeniv.linux.org.uk
Cc: linux-fsdevel@vger.kernel.org, shenhan@google.com
Subject: [PATCH] Removed unused typedef to avoid "unused local typedef" warnings.
Date: Fri, 12 Apr 2013 16:26:58 -0700 [thread overview]
Message-ID: <1365809230-9717-1-git-send-email-shenhan@google.com> (raw)
Fix warnings about unused local typedefs (reported by gcc 4.8).
Signed-off-by: Han Shen (shenhan@google.com)
Change-Id: I4bccc234f1390daa808d2b309ed112e20c0ac096
---
fs/compat_ioctl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 3ced75f..996cdc5 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -608,7 +608,6 @@ struct serial_struct32 {
static int serial_struct_ioctl(unsigned fd, unsigned cmd,
struct serial_struct32 __user *ss32)
{
- typedef struct serial_struct SS;
typedef struct serial_struct32 SS32;
int err;
struct serial_struct ss;
--
1.8.1.3
next reply other threads:[~2013-04-12 23:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-12 23:26 Han Shen [this message]
2013-04-24 17:13 ` [PATCH] Removed unused typedef to avoid "unused local typedef" warnings Han Shen(沈涵)
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=1365809230-9717-1-git-send-email-shenhan@google.com \
--to=shenhan@google.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).