Skip to contentSkip to conversation

ALSA: pci/asihpi: Remove unused function hpi_stream_group_get_map()

PATCH Applied YueHaibing 2 participants 2 messages Sep 9, 2020 Sound

lore
Share & tools
lore

YueHaibing

author
#0 lore raw

PATCH 9/19 ALSA: pci/asihpi: Remove unused function hpi_stream_group_get_map()

There is no caller in tree, so can remove it.

---
 sound/pci/asihpi/asihpi.c | 9 ---------
 1 file changed, 9 deletions(-)
sound/pci/asihpi/asihpi.c +0 -9
index 35e76480306e..8bacd4f47540 100644
@@ -258,15 +258,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)
Signature · 1 line
2.17.1