OSDN Git Service

ALSA: sonicvibes: remove redundant pointer 'dir'
authorColin Ian King <colin.king@canonical.com>
Wed, 1 Aug 2018 10:47:38 +0000 (11:47 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 1 Aug 2018 12:00:13 +0000 (14:00 +0200)
commit0d00085b905c904d6de4296aa6a1e3613d0a4d67
tree5e0966b4dfb6259e0989d16968601544d8e7f5a9
parent3b0cbc7812d759ffb38d881e75c0318512283d00
ALSA: sonicvibes: remove redundant pointer 'dir'

Pointer 'dir' is being assigned but is never used hence it is
redundant and can be removed.

Cleans up clang warning:
warning: variable 'dir' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/sonicvibes.c