staging: rdma: amso1100: Drop unnecessary goto
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Sat, 24 Oct 2015 16:39:05 +0000 (22:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 19:09:16 +0000 (04:09 +0900)
commit5e16d07501becacdc766132facaceba47db839a6
treebfb414d319a1f3ee3f7714baa928dbf485941bee
parent24523a94538ef500b867a2d4b2cb5bf72c8287a0
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>
drivers/staging/rdma/amso1100/c2_cm.c