alsa: Remove unused and unprovided hw_init() parameter `devname'

This commit is contained in:
Peter Stuge 2012-12-03 01:34:23 +01:00 committed by Bert Vermeulen
parent 46697e38b2
commit 73496bb571
1 changed files with 1 additions and 3 deletions

View File

@ -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;