Repository navigation
Commit 731209c
ALSA: usb-midi: Use common error handling code in __snd_usbmidi_create()
Add jump targets so that a bit of exception handling can be better reused
at the end of this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>1 parent 1ae0e4c commit 731209c
1 file changed
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2435 | 2435 | | |
2436 | 2436 | | |
2437 | 2437 | | |
2438 | | - | |
2439 | | - | |
2440 | | - | |
2441 | | - | |
| 2438 | + | |
| 2439 | + | |
2442 | 2440 | | |
2443 | 2441 | | |
2444 | 2442 | | |
| |||
2448 | 2446 | | |
2449 | 2447 | | |
2450 | 2448 | | |
2451 | | - | |
2452 | | - | |
2453 | | - | |
2454 | | - | |
| 2449 | + | |
| 2450 | + | |
2455 | 2451 | | |
2456 | 2452 | | |
2457 | 2453 | | |
2458 | 2454 | | |
2459 | 2455 | | |
2460 | 2456 | | |
2461 | | - | |
2462 | | - | |
2463 | | - | |
| 2457 | + | |
| 2458 | + | |
2464 | 2459 | | |
2465 | 2460 | | |
2466 | 2461 | | |
2467 | 2462 | | |
2468 | 2463 | | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
2469 | 2469 | | |
2470 | 2470 | | |
0 commit comments