Commit d19b75b0 authored by Fabian Krueger's avatar Fabian Krueger Committed by Greg Kroah-Hartman

staging: kpc2000: remove needless 'break'

The unconditioned jump will prohibit to ever reach the break-statement.
Deleting this needless statement, the code becomes more understandable.
Signed-off-by: default avatarFabian Krueger <fabian.krueger@fau.de>
Signed-off-by: default avatarMichael Scheiderer <michael.scheiderer@fau.de>
Cc: <linux-kernel@i4.cs.fau.de>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 39e82858
......@@ -498,7 +498,6 @@ kp_spi_probe(struct platform_device *pldev)
default:
dev_err(&pldev->dev, "Unknown hardware, cant know what partition table to use!\n");
goto free_master;
break;
}
return status;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment