mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 06:33:34 +00:00
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: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
8b0c107ce0
commit
445d20260b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user