OSDN Git Service

ALSA: compress: Remove unused variable
authorGuneshwor Singh <guneshwor.o.singh@intel.com>
Thu, 14 Sep 2017 12:19:40 +0000 (17:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Oct 2017 09:51:20 +0000 (11:51 +0200)
commit984b6c96f1e2bf2ccfc7c8755e936185c68f4054
tree1e22714610e4b637579e989f3d5a8c375c2afb26
parent88c195d638d3f84e560ea4283b364499e9acb95b
ALSA: compress: Remove unused variable

commit a931b9ce93841a5b66b709ba5a244276e345e63b upstream.

Commit 04c5d5a430fc ("ALSA: compress: Embed struct device") removed
the statement that used 'str' but didn't remove the variable itself.
So remove it.

[Adding stable to Cc since pr_debug() may refer to the uninitialized
 buffer -- tiwai]

Fixes: 04c5d5a430fc ("ALSA: compress: Embed struct device")
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/core/compress_offload.c