alsa: Remove unused and unprovided hw_init() parameter `devname'
This commit is contained in:
parent
46697e38b2
commit
73496bb571
|
@ -75,13 +75,11 @@ struct context {
|
|||
void *session_dev_id;
|
||||
};
|
||||
|
||||
static int hw_init(const char *devinfo)
|
||||
static int hw_init(void)
|
||||
{
|
||||
struct sr_dev_inst *sdi;
|
||||
struct context *ctx;
|
||||
|
||||
(void)devinfo;
|
||||
|
||||
if (!(ctx = g_try_malloc0(sizeof(struct context)))) {
|
||||
sr_err("%s: ctx malloc failed", __func__);
|
||||
return SR_ERR_MALLOC;
|
||||
|
|
Loading…
Reference in New Issue