OSDN Git Service

ALSA: opl3: remove redundant pointer opl3
authorColin Ian King <colin.king@canonical.com>
Mon, 16 Jul 2018 08:34:51 +0000 (09:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Jul 2018 12:29:37 +0000 (14:29 +0200)
commiteeef847de593e2de4ddbf7ae3439c9fc9ebc8e84
treefcc44f9d427a030c022e1a3baee2f1e9fb93951a
parentff2d6acdf6f13d9f8fdcd890844c6d7535ac1f10
ALSA: opl3: remove redundant pointer opl3

Variable opl3 is being assigned but is never used hence it is
redundant and can be removed.

Cleans up several clang warnings:
warning: variable 'opl3' 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/drivers/opl3/opl3_midi.c
sound/drivers/opl3/opl3_oss.c