diff options
author | 2017-06-29 17:28:06 +0800 | |
---|---|---|
committer | 2017-07-01 08:46:57 -0700 | |
commit | 7f304b9efabbad584b093289d135bebdc09b222e (patch) | |
tree | 642f552182981afc362099000ea75d3922e7b805 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'net-refcount_t' (diff) | |
download | wireguard-linux-7f304b9efabbad584b093289d135bebdc09b222e.tar.xz wireguard-linux-7f304b9efabbad584b093289d135bebdc09b222e.zip |
sctp: remove an unnecessary check from sctp_endpoint_destroy
ep->base.sk gets it's value since sctp_endpoint_new, nowhere
will change it. So there's no need to check if it's null, as
it can never be null.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions