summaryrefslogtreecommitdiffstats
path: root/loopback
diff options
context:
space:
mode:
Diffstat (limited to 'loopback')
-rw-r--r--loopback/loopback.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/loopback/loopback.c b/loopback/loopback.c
index b4a82e5..c3e06be 100644
--- a/loopback/loopback.c
+++ b/loopback/loopback.c
@@ -46,7 +46,6 @@ MODULE_LICENSE("GPL");
#define NO_PITCH 100000
-static struct snd_avirt_coreinfo *coreinfo;
static struct loopback *loopback;
struct loopback_pcm;
@@ -1093,9 +1092,9 @@ static int __init alsa_card_loopback_init(void)
{
int err = 0;
- err = snd_avirt_audiopath_register(&loopbackap_module, &coreinfo);
- if ((err < 0) || (!coreinfo)) {
- AP_ERRORK("coreinfo is NULL!");
+ err = snd_avirt_audiopath_register(&loopbackap_module);
+ if (err < 0) {
+ AP_ERRORK("Failed to register with AVIRT");
return err;
}