]> git.baikalelectronics.ru Git - kernel.git/commit
sound/oss/opl3: Remove typedef opl_devinfo
authorHimangi Saraogi <himangi774@gmail.com>
Tue, 5 Aug 2014 12:07:18 +0000 (17:37 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Aug 2014 18:07:59 +0000 (20:07 +0200)
commitb9dcc5c20121de3a74d85dec3511ad1ee780f8cf
tree9d52117860b41322e9f8f7a657a8339e0fbb68fd
parent03df608e98ec53c0d9a0fe69b7248487ed7a7743
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: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/opl3.c