commit | 1cbd104b30edd3f30ab1ed6b5c642a64d1ba4868 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Wed Apr 27 12:41:52 2022 +0200 |
committer | Stefan Roese <sr@denx.de> | Wed May 04 07:05:51 2022 +0200 |
tree | 13e5cfb64a9a2aaf193b32ec4f731ab1ec6e2dbc | |
parent | b407baae5ec1d7830936dea8258a3241c51cc262 [diff] |
net: mvneta: Fix unused variable warning if DM_GPIO is disabled The `ret` variable in mvneta_probe() is unused if DM_GPIO is disabled. Since the variable is used only once after assigning value, we can inline the usage and drop the variable. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>