summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-01-30 11:45:40 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-01 18:04:54 +0000
commit442c598a0c6900309737a49b5a1ce1df5fe8dcfc (patch)
tree231936c4fecf4f006199cacac3d35a1ae79a4a30 /src/drivers
parentbef4ec7e57a44408bef318ffac4dee031338aa8d (diff)
drivers/net/ne2k.c: Remove unuseful 'return' in void function
Change-Id: I2313dc209eb9035f1026a1f37ef8146c57c60986 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61482 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/net/ne2k.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drivers/net/ne2k.c b/src/drivers/net/ne2k.c
index 635315b359..83d4ccfb22 100644
--- a/src/drivers/net/ne2k.c
+++ b/src/drivers/net/ne2k.c
@@ -307,7 +307,6 @@ static void read_resources(struct device *dev)
res->limit = res->base + res->size - 1;
res->flags = IORESOURCE_IO | IORESOURCE_FIXED | IORESOURCE_STORED |
IORESOURCE_ASSIGNED;
- return;
}
static struct device_operations ne2k_ops = {