Commit 8b0276d2 authored by Himangi Saraogi's avatar Himangi Saraogi Committed by Takashi Iwai

sound/oss/opl3: Remove typedef opl_devinfo

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: default avatarHimangi Saraogi <himangi774@gmail.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 30225ed5
...@@ -52,7 +52,7 @@ struct voice_info ...@@ -52,7 +52,7 @@ struct voice_info
int panning; /* 0xffff means not set */ int panning; /* 0xffff means not set */
}; };
typedef struct opl_devinfo struct opl_devinfo
{ {
int base; int base;
int left_io, right_io; int left_io, right_io;
...@@ -73,7 +73,7 @@ typedef struct opl_devinfo ...@@ -73,7 +73,7 @@ typedef struct opl_devinfo
unsigned char cmask; unsigned char cmask;
int is_opl4; int is_opl4;
} opl_devinfo; };
static struct opl_devinfo *devc = NULL; static struct opl_devinfo *devc = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment