From 442c598a0c6900309737a49b5a1ce1df5fe8dcfc Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 30 Jan 2022 11:45:40 +0100 Subject: [PATCH] drivers/net/ne2k.c: Remove unuseful 'return' in void function Change-Id: I2313dc209eb9035f1026a1f37ef8146c57c60986 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/61482 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/drivers/net/ne2k.c | 1 - 1 file changed, 1 deletion(-) 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 = {