CLEANUP: h3: Unreachable target in h3_uqs_init()

This should fix Coverity CID 375045 in GH #1536 which detects a no more
use "err" target in h3_uqs_init()
This commit is contained in:
Frédéric Lécaille 2022-02-02 15:21:00 +01:00 committed by Amaury Denoyelle
parent 6842485a84
commit 225c31fc9f

View File

@ -770,7 +770,6 @@ static int h3_uqs_init(struct h3_uqs *h3_uqs, struct h3 *h3,
h3_uqs->wait_event.tasklet->context = h3_uqs; h3_uqs->wait_event.tasklet->context = h3_uqs;
return 1; return 1;
err:
tasklet_free(h3_uqs->wait_event.tasklet); tasklet_free(h3_uqs->wait_event.tasklet);
return 0; return 0;
} }