diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-10-16 13:35:58 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-10-16 14:48:49 +0200 |
commit | 49815404bd3870232de8800430a83d7d498ae1e2 (patch) | |
tree | e435496139014003a1407338fd0f4cecc9523436 /sound/usb | |
parent | 6512ab68e2bf6a63b0607abfdaa7f2bb7caca26f (diff) | |
download | linux-49815404bd3870232de8800430a83d7d498ae1e2.tar.bz2 |
ALSA: 6fire: remove unused variable card
The pointer card is being assigned a value but it is never used.
Remove this redundant variable. Cleans up clang warning:
Value stored to 'card' is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/6fire/chip.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/usb/6fire/chip.c b/sound/usb/6fire/chip.c index c7641cb50616..17d5e3ee6d73 100644 --- a/sound/usb/6fire/chip.c +++ b/sound/usb/6fire/chip.c @@ -174,11 +174,9 @@ destroy_chip: static void usb6fire_chip_disconnect(struct usb_interface *intf) { struct sfire_chip *chip; - struct snd_card *card; chip = usb_get_intfdata(intf); if (chip) { /* if !chip, fw upload has been performed */ - card = chip->card; chip->intf_count--; if (!chip->intf_count) { mutex_lock(®ister_mutex); |