ALSA: squash lines for simple wrapper functions
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

committed by
Takashi Iwai

parent
f3f6c61452
commit
44cc4a017e
@@ -1169,12 +1169,7 @@ static struct soundbus_driver aoa_soundbus_driver = {
|
||||
|
||||
static int __init aoa_fabric_layout_init(void)
|
||||
{
|
||||
int err;
|
||||
|
||||
err = soundbus_register_driver(&aoa_soundbus_driver);
|
||||
if (err)
|
||||
return err;
|
||||
return 0;
|
||||
return soundbus_register_driver(&aoa_soundbus_driver);
|
||||
}
|
||||
|
||||
static void __exit aoa_fabric_layout_exit(void)
|
||||
|
Reference in New Issue
Block a user