Commit cf506e2b authored by Russell King's avatar Russell King Committed by Linus Torvalds

[PATCH] Remove unused "dev" argument from cb_setup_cis_mem

cb_setup_cis_mem doesn't reference the pci device.  Remove this unused
argument.
parent 9be62e3b
......@@ -146,7 +146,7 @@ void cb_release_cis_mem(socket_info_t * s)
}
}
static int cb_setup_cis_mem(socket_info_t * s, struct pci_dev *dev, struct resource *res)
static int cb_setup_cis_mem(socket_info_t * s, struct resource *res)
{
unsigned int start, size;
......@@ -201,7 +201,7 @@ int read_cb_mem(socket_info_t * s, u_char fn, int space,
if (!res->flags)
goto fail;
if (cb_setup_cis_mem(s, dev, res) != 0)
if (cb_setup_cis_mem(s, res) != 0)
goto fail;
if (space == 7) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment