[PATCH] bcm63xx_enet: simplify the code in bcm_enet_open()

Florian Fainelli f.fainelli at gmail.com
Thu Jul 29 14:23:28 PDT 2021


On 7/29/21 12:06 AM, Tang Bin wrote:
> In the function bcm_enet_open(), 'ret = -ENOMEM' can be moved
> outside the judgement statement, so redundant assignments can
> be removed to simplify the code.
> 
> Signed-off-by: Tang Bin <tangbin at cmss.chinamobile.com>

Acked-by: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian



More information about the linux-arm-kernel mailing list