summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmrvl_sdio.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-06-16 15:07:57 +0200
committerMarcel Holtmann <marcel@holtmann.org>2021-06-26 07:12:44 +0200
commitdd912f43bbda87ed37099a9287e4fbb7c85af706 (patch)
treedf1e6dd171953e6cada0cf1232b32e2edc2e1069 /drivers/bluetooth/btmrvl_sdio.c
parentBluetooth: Fix Set Extended (Scan Response) Data (diff)
downloadlinux-dd912f43bbda87ed37099a9287e4fbb7c85af706.tar.xz
linux-dd912f43bbda87ed37099a9287e4fbb7c85af706.zip
Bluetooth: btmrvl: remove redundant continue statement
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>
Diffstat (limited to 'drivers/bluetooth/btmrvl_sdio.c')
-rw-r--r--drivers/bluetooth/btmrvl_sdio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index 33d58b30c5ac..cddd350beba3 100644
--- 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);