diff options
author | Masahiro Yamada | 2016-09-06 20:41:19 +0900 |
---|---|---|
committer | Takashi Iwai | 2016-09-07 20:35:29 +0200 |
commit | 44cc4a017e2df87f25765ac270f3f64efc6b06ef (patch) | |
tree | ad55e8dffc16bc00492aab005320c870c22f384f /sound/aoa | |
parent | f3f6c61452e28ffdf93b101555546af8ef63def5 (diff) |
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>
Diffstat (limited to 'sound/aoa')
-rw-r--r-- | sound/aoa/fabrics/layout.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sound/aoa/fabrics/layout.c b/sound/aoa/fabrics/layout.c index edc868196e11..a0c4a5de809c 100644 --- a/sound/aoa/fabrics/layout.c +++ b/sound/aoa/fabrics/layout.c @@ -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) |