mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 18:13:26 -04:00
staging: rdma: amso1100: Drop unnecessary goto
Deletes the jump to a label on the next line when the label isn't used anywhere else. The semantic patch used to find this is: // <smpl> @r@ identifier l; @@ -if (...) goto l; -l: // </smpl> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
24523a9453
commit
5e16d07501
@@ -278,10 +278,7 @@ int c2_llp_service_destroy(struct iw_cm_id *cm_id)
|
||||
err = -ENOMEM;
|
||||
goto bail0;
|
||||
}
|
||||
if ((err = c2_errno(reply)) != 0)
|
||||
goto bail1;
|
||||
|
||||
bail1:
|
||||
vq_repbuf_free(c2dev, reply);
|
||||
bail0:
|
||||
vq_req_free(c2dev, vq_req);
|
||||
|
||||
Reference in New Issue
Block a user