Skip to content

Commit bf77f3f

Browse files
committed
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 <[email protected]> Acked-by: Florian Fainelli <[email protected]> Acked-by: Markus Mayer <[email protected]>
1 parent a6ca67a commit bf77f3f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/memory/brcmstb_dpfe.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,8 @@ static void __iomem *get_msg_ptr(struct brcmstb_dpfe_priv *priv, u32 response,
379379
void __iomem *ptr = NULL;
380380

381381
/* There is no need to use this function for API v3 or later. */
382-
if (unlikely(priv->dpfe_api->version >= 3)) {
382+
if (unlikely(priv->dpfe_api->version >= 3))
383383
return NULL;
384-
}
385384

386385
msg_type = (response >> DRAM_MSG_TYPE_OFFSET) & DRAM_MSG_TYPE_MASK;
387386
offset = (response >> DRAM_MSG_ADDR_OFFSET) & DRAM_MSG_ADDR_MASK;

0 commit comments

Comments
 (0)