mxge_rss_eth_z8e_fw_modevent: eliminate write only variable parent
Sponsored by: Netflix
This commit is contained in:
parent
886bc93da8
commit
5f136a4c01
@ -15,7 +15,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
static int
|
static int
|
||||||
mxge_rss_eth_z8e_fw_modevent(module_t mod, int type, void *unused)
|
mxge_rss_eth_z8e_fw_modevent(module_t mod, int type, void *unused)
|
||||||
{
|
{
|
||||||
const struct firmware *fp, *parent;
|
const struct firmware *fp;
|
||||||
int error;
|
int error;
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case MOD_LOAD:
|
case MOD_LOAD:
|
||||||
@ -25,7 +25,6 @@ mxge_rss_eth_z8e_fw_modevent(module_t mod, int type, void *unused)
|
|||||||
rss_eth_z8e_uncompressed_length, NULL);
|
rss_eth_z8e_uncompressed_length, NULL);
|
||||||
if (fp == NULL)
|
if (fp == NULL)
|
||||||
goto fail_0;
|
goto fail_0;
|
||||||
parent = fp;
|
|
||||||
return (0);
|
return (0);
|
||||||
fail_0:
|
fail_0:
|
||||||
return (ENXIO);
|
return (ENXIO);
|
||||||
|
Loading…
Reference in New Issue
Block a user