ALSA: pci/asihpi: Remove unused function hpi_stream_group_get_map()
authorYueHaibing <yuehaibing@huawei.com>
Wed, 9 Sep 2020 13:49:27 +0000 (21:49 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Sep 2020 16:42:57 +0000 (18:42 +0200)
There is no caller in tree, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200909134927.33964-1-yuehaibing@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/asihpi.c

index 46d8166..5e1f9f1 100644 (file)
@@ -257,15 +257,6 @@ static inline u16 hpi_stream_group_reset(u32 h_stream)
                return hpi_instream_group_reset(h_stream);
 }
 
-static inline u16 hpi_stream_group_get_map(
-                               u32 h_stream, u32 *mo, u32 *mi)
-{
-       if (hpi_handle_object(h_stream) ==  HPI_OBJ_OSTREAM)
-               return hpi_outstream_group_get_map(h_stream, mo, mi);
-       else
-               return hpi_instream_group_get_map(h_stream, mo, mi);
-}
-
 static u16 handle_error(u16 err, int line, char *filename)
 {
        if (err)