projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9ed0a7
)
Bluetooth: btmrvl: remove redundant continue statement
author
Colin Ian King
<colin.king@canonical.com>
Wed, 16 Jun 2021 13:07:57 +0000
(14:07 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 26 Jun 2021 05:12:44 +0000
(07:12 +0200)
The continue statement in the for-loop has no effect,
remove it.
Addresses-Coverity: ("Continue has no effect")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_sdio.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/btmrvl_sdio.c
b/drivers/bluetooth/btmrvl_sdio.c
index 33d58b30c5acfc23ab4cf7c0d63e6980e8f017fe..cddd350beba3fc6f2ec629c18ea0e2dca9805d8e 100644
(file)
--- a/
drivers/bluetooth/btmrvl_sdio.c
+++ b/
drivers/bluetooth/btmrvl_sdio.c
@@
-1461,9
+1461,7
@@
static void btmrvl_sdio_coredump(struct device *dev)
BT_ERR("Allocated buffer not enough");
}
- if (stat != RDWR_STATUS_DONE) {
- continue;
- } else {
+ if (stat == RDWR_STATUS_DONE) {
BT_INFO("%s done: size=0x%tx",
entry->mem_name,
dbg_ptr - entry->mem_ptr);