提交 f1554b7b 编写于 作者: P prasanna karthik 提交者: Marcel Holtmann

Bluetooth: btmrvl: cleanup code in return from btmrvl_sdio_suspend()

Else is not generally useful after a break or return
Signed-off-by: NPrasanna Karthik <pkarthik@outlook.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 fa0eaf84
...@@ -1642,10 +1642,10 @@ static int btmrvl_sdio_suspend(struct device *dev) ...@@ -1642,10 +1642,10 @@ static int btmrvl_sdio_suspend(struct device *dev)
if (priv->adapter->hs_state == HS_ACTIVATED) { if (priv->adapter->hs_state == HS_ACTIVATED) {
BT_DBG("suspend with MMC_PM_KEEP_POWER"); BT_DBG("suspend with MMC_PM_KEEP_POWER");
return sdio_set_host_pm_flags(func, 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) static int btmrvl_sdio_resume(struct device *dev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册