Commit 445d2026 authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by Linus Walleij

pinctrl: pinctrl-at91.c: Cleaning up values that are never used

Remove variable that are never used

This was found using a static code analysis program called cppcheck.
Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 8b0c107c
......@@ -772,9 +772,9 @@ static void at91_pinconf_dbg_show(struct pinctrl_dev *pctldev,
struct seq_file *s, unsigned pin_id)
{
unsigned long config;
int ret, val, num_conf = 0;
int val, num_conf = 0;
ret = at91_pinconf_get(pctldev, pin_id, &config);
at91_pinconf_get(pctldev, pin_id, &config);
DBG_SHOW_FLAG(MULTI_DRIVE);
DBG_SHOW_FLAG(PULL_UP);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment