event/sw: fix build with icc
build error:
.../drivers/event/sw/sw_evdev_scheduler.c(379):
error #300: const variable "dummy_rob" requires an initializer
static const struct reorder_buffer_entry dummy_rob;
^
Variable "dummy_rob" defined as const but already cast to another
pointer and its content updated. Remove const qualifier from variable.
Fixes: 617995dfc5
("event/sw: add scheduling logic")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
a175e38f2e
commit
fa865c012b
@ -376,7 +376,7 @@ sw_refill_pp_buf(struct sw_evdev *sw, struct sw_port *port)
|
||||
static inline uint32_t __attribute__((always_inline))
|
||||
__pull_port_lb(struct sw_evdev *sw, uint32_t port_id, int allow_reorder)
|
||||
{
|
||||
static const struct reorder_buffer_entry dummy_rob;
|
||||
static struct reorder_buffer_entry dummy_rob;
|
||||
uint32_t pkts_iter = 0;
|
||||
struct sw_port *port = &sw->ports[port_id];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user