aboutsummaryrefslogtreecommitdiff
path: root/pcap-netfilter-linux.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2023-06-24 23:15:40 -0700
committerGuy Harris <gharris@sonic.net>2023-06-24 23:15:40 -0700
commitd130479e5b2c024a70e1f7446a228eb19243114e (patch)
tree3f170fea3828c7b88b7d89d750de599f324489b2 /pcap-netfilter-linux.c
parent8473c53e01d73a5fb19e2283b894206d94e310f0 (diff)
dag: remove unnecessary null pointer checks.
If you've gotten to that point in the code, p->dlt_list is non-null, so there's no need to check for it being null. (If it was null when dag_get_datalink() was entered, it would try to allocate it and, if that failed, would return an error.)
Diffstat (limited to 'pcap-netfilter-linux.c')
0 files changed, 0 insertions, 0 deletions