linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Removed unused typedef to avoid "unused local typedef" warnings.
@ 2013-04-12 23:26 Han Shen
  2013-04-24 17:13 ` Han Shen(沈涵)
  0 siblings, 1 reply; 2+ messages in thread
From: Han Shen @ 2013-04-12 23:26 UTC (permalink / raw)
  To: viro; +Cc: linux-fsdevel, shenhan

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Removed unused typedef to avoid "unused local typedef" warnings.
  2013-04-12 23:26 [PATCH] Removed unused typedef to avoid "unused local typedef" warnings Han Shen
@ 2013-04-24 17:13 ` Han Shen(沈涵)
  0 siblings, 0 replies; 2+ messages in thread
From: Han Shen(沈涵) @ 2013-04-24 17:13 UTC (permalink / raw)
  To: viro; +Cc: linux-fsdevel, Han Shen

Ping?

On Fri, Apr 12, 2013 at 4:26 PM, Han Shen <shenhan@google.com> wrote:
> 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
>



-- 
Han Shen |  Software Engineer |  shenhan@google.com |  +1-650-440-3330

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-24 17:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-12 23:26 [PATCH] Removed unused typedef to avoid "unused local typedef" warnings Han Shen
2013-04-24 17:13 ` Han Shen(沈涵)

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).