remove unneeded suse conditional.
This commit is contained in:
parent
807c8ba709
commit
b02f0492e0
|
|
@ -2248,11 +2248,7 @@ static int __igc_xdp_run_prog(struct igc_adapter *adapter,
|
||||||
return IGC_XDP_REDIRECT;
|
return IGC_XDP_REDIRECT;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
#if SUSE_VERSION == 15 && SUSE_PATCHLEVEL == 5
|
|
||||||
bpf_warn_invalid_xdp_action(adapter->netdev, prog, act);
|
|
||||||
#else
|
|
||||||
bpf_warn_invalid_xdp_action(act);
|
bpf_warn_invalid_xdp_action(act);
|
||||||
#endif
|
|
||||||
fallthrough;
|
fallthrough;
|
||||||
case XDP_ABORTED:
|
case XDP_ABORTED:
|
||||||
out_failure:
|
out_failure:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue