summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMarek BehĂșn <[email protected]>2022-04-27 12:41:52 +0200
committerStefan Roese <[email protected]>2022-05-04 07:05:51 +0200
commit7ec50404ae65b081554ac5cceb1e60524413177f (patch)
tree13e5cfb64a9a2aaf193b32ec4f731ab1ec6e2dbc /include/linux
parent1d87904c159bd2773c47e72befa18af8720f3177 (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 <[email protected]> Reviewed-by: Ramon Fried <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions