]> git.ipfire.org Git - thirdparty/qemu.git/commit
ebpf: drop redundant parameter checks in static methods
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 23 Oct 2024 08:50:58 +0000 (09:50 +0100)
committerJason Wang <jasowang@redhat.com>
Mon, 28 Oct 2024 06:37:25 +0000 (14:37 +0800)
commita9436dd4077b0ee04dbbd2354a6738654530a206
tree529a2d5e6e702bab370f8466a41db39880af3f8d
parent493a2403c247bdcfc812303f8dc0801778de4798
ebpf: drop redundant parameter checks in static methods

Various static methods have checks on their parameters which were
already checked immediately before the method was invoked. Drop
these redundat checks to simplify the following commit which adds
formal error reporting.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
ebpf/ebpf_rss.c