Skip to content

Commit

Permalink
Bluetooth: btmrvl: cleanup code in return from btmrvl_sdio_suspend()
Browse files Browse the repository at this point in the history
Else is not generally useful after a break or return

Signed-off-by: Prasanna Karthik <pkarthik@outlook.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  • Loading branch information
prasanna karthik authored and Marcel Holtmann committed Apr 12, 2017
1 parent fa0eaf8 commit f1554b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/bluetooth/btmrvl_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1642,10 +1642,10 @@ static int btmrvl_sdio_suspend(struct device *dev)
if (priv->adapter->hs_state == HS_ACTIVATED) {
BT_DBG("suspend with MMC_PM_KEEP_POWER");
return sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
} else {
BT_DBG("suspend without MMC_PM_KEEP_POWER");
return 0;
}

BT_DBG("suspend without MMC_PM_KEEP_POWER");
return 0;
}

static int btmrvl_sdio_resume(struct device *dev)
Expand Down

0 comments on commit f1554b7

Please sign in to comment.