memory: brcmstb_dpfe: Remove unneeded braces
Single statement blocks don't need braces. Fixes checkpatch warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Markus Mayer <mmayer@broadcom.com>
This commit is contained in:
Родитель
a6ca67a838
Коммит
bf77f3f465
|
@ -379,9 +379,8 @@ static void __iomem *get_msg_ptr(struct brcmstb_dpfe_priv *priv, u32 response,
|
|||
void __iomem *ptr = NULL;
|
||||
|
||||
/* There is no need to use this function for API v3 or later. */
|
||||
if (unlikely(priv->dpfe_api->version >= 3)) {
|
||||
if (unlikely(priv->dpfe_api->version >= 3))
|
||||
return NULL;
|
||||
}
|
||||
|
||||
msg_type = (response >> DRAM_MSG_TYPE_OFFSET) & DRAM_MSG_TYPE_MASK;
|
||||
offset = (response >> DRAM_MSG_ADDR_OFFSET) & DRAM_MSG_ADDR_MASK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче