From 0765c6c497379a9f850d15be3b3cbdaba59fe7fc Mon Sep 17 00:00:00 2001 From: Mark Farrugia Date: Wed, 31 Oct 2018 18:41:33 +1100 Subject: Remove coreinfo, absorb version info into core Since coreinfo only has version info, and this is not being used at all, we can absorb the version info into the private avirt_core structure. We could in future implement a function to retrieve the version, when, and if, it is required. Signed-off-by: Mark Farrugia --- sound/avirt.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'sound') diff --git a/sound/avirt.h b/sound/avirt.h index 1a5c546..b077bbc 100644 --- a/sound/avirt.h +++ b/sound/avirt.h @@ -62,21 +62,12 @@ struct snd_avirt_stream { struct config_item item; /* configfs item reference */ }; -/** - * AVIRT core info - */ -struct snd_avirt_coreinfo { - unsigned int version[3]; -}; - /** * snd_avirt_audiopath_register - register Audio Path with AVIRT * @audiopath: Audio Path to be registered - * @core: ALSA virtual driver core info * @return: 0 on success or error code otherwise */ -int snd_avirt_audiopath_register(struct snd_avirt_audiopath *audiopath, - struct snd_avirt_coreinfo **coreinfo); +int snd_avirt_audiopath_register(struct snd_avirt_audiopath *audiopath); /** * snd_avirt_audiopath_deregister - deregister Audio Path with AVIRT -- cgit