Re: [PATCH] sound/oss/opl3: Remove typedef opl_devinfo

2014-08-05 Thread Takashi Iwai
At Tue, 5 Aug 2014 17:37:18 +0530, Himangi Saraogi wrote: > > This typedef is unnecessary and should just be removed as they are > never used. > > The following Coccinelle semantic patch detects the case. > > @tn@ > identifier i; > type td; > @@ > > -typedef > struct i { ... } > -td > ; > >

[PATCH] sound/oss/opl3: Remove typedef opl_devinfo

2014-08-05 Thread Himangi Saraogi
This typedef is unnecessary and should just be removed as they are never used. The following Coccinelle semantic patch detects the case. @tn@ identifier i; type td; @@ -typedef struct i { ... } -td ; @@ type tn.td; identifier tn.i; @@ -td + struct i Signed-off-by: Himangi Saraogi

[PATCH] sound/oss/opl3: Remove typedef opl_devinfo

2014-08-05 Thread Himangi Saraogi
This typedef is unnecessary and should just be removed as they are never used. The following Coccinelle semantic patch detects the case. @tn@ identifier i; type td; @@ -typedef struct i { ... } -td ; @@ type tn.td; identifier tn.i; @@ -td + struct i Signed-off-by: Himangi Saraogi

Re: [PATCH] sound/oss/opl3: Remove typedef opl_devinfo

2014-08-05 Thread Takashi Iwai
At Tue, 5 Aug 2014 17:37:18 +0530, Himangi Saraogi wrote: This typedef is unnecessary and should just be removed as they are never used. The following Coccinelle semantic patch detects the case. @tn@ identifier i; type td; @@ -typedef struct i { ... } -td ; @@ type tn.td;