Skip to content
Commit 0b671eed authored by Tang Bin's avatar Tang Bin Committed by Corey Minyard
Browse files

ipmi:bt-bmc: Avoid unnecessary check



bt_bmc_probe() is only called with an openfirmware platform device.
Therefore there is no need to check that the passed in device is NULL or
that it has an openfirmware node.

Signed-off-by: default avatarTang Bin <tangbin@cmss.chinamobile.com>
Message-Id: <20200408115958.2848-1-tangbin@cmss.chinamobile.com>
[Fixed the title up a bit.]
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent b9bbe6ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment