diff options
author | Fabian Krueger <fabian.krueger@fau.de> | 2019-06-26 09:35:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-01 09:19:43 +0200 |
commit | d19b75b05178e1e1483ccd9bd38fce930a0204d2 (patch) | |
tree | 37785af26d290a56ffa8080d1da5945f00540802 | |
parent | 39e828584b390e612958e20ca308957001fcf854 (diff) | |
download | linux-d19b75b05178e1e1483ccd9bd38fce930a0204d2.tar.bz2 |
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: Fabian Krueger <fabian.krueger@fau.de>
Signed-off-by: Michael Scheiderer <michael.scheiderer@fau.de>
Cc: <linux-kernel@i4.cs.fau.de>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/kpc2000/kpc2000_spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c index 68b01e2420d8..021cc859feed 100644 --- a/drivers/staging/kpc2000/kpc2000_spi.c +++ b/drivers/staging/kpc2000/kpc2000_spi.c @@ -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; |