Commit b59aff6
ALSA: emu10k1: Use common error handling code in snd_emu10k1_playback_open()
Use an additional label so that a bit of exception handling can be better
reused at the end of this function implementation.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: https://patch.msgid.link/d709474d-62b0-4f7e-9011-a0f716b35383@web.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>1 parent 348f693 commit b59aff6
1 file changed
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1181 | 1181 | | |
1182 | 1182 | | |
1183 | 1183 | | |
1184 | | - | |
1185 | | - | |
1186 | | - | |
1187 | | - | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
1188 | 1187 | | |
1189 | 1188 | | |
1190 | 1189 | | |
1191 | 1190 | | |
1192 | 1191 | | |
1193 | | - | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
1197 | 1195 | | |
1198 | 1196 | | |
1199 | 1197 | | |
| |||
1204 | 1202 | | |
1205 | 1203 | | |
1206 | 1204 | | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
1207 | 1209 | | |
1208 | 1210 | | |
1209 | 1211 | | |
| |||
0 commit comments