Commit ad4a5bb8 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

ip2main warning fix


drivers/char/ip2/ip2main.c: In function `ip2_loadmain':
drivers/char/ip2/ip2main.c:503: warning: unused variable `status'
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent ca76d2d8
......@@ -500,7 +500,6 @@ ip2_loadmain(int *iop, int *irqp, unsigned char *firmware, int firmsize)
int i, j, box;
int err = 0;
int status = 0;
static int loaded;
i2eBordStrPtr pB = NULL;
int rc = -1;
......@@ -588,6 +587,8 @@ ip2_loadmain(int *iop, int *irqp, unsigned char *firmware, int firmsize)
case PCI:
int status;
pci_dev_i = pci_get_device(PCI_VENDOR_ID_COMPUTONE,
if (pci_dev_i != NULL) {
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