]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5f1cfc887b141ad8e022a3932e76b893ca50185d
treebfb414d319a1f3ee3f7714baa928dbf485941bee
parentc2c2076c1a31dbc4cbb385192be141384a032f82
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