Skip to content
Commit 56755924 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

cipso: remove an unneeded NULL check in cipso_v4_doi_add()



We dereference doi_def on the line before the NULL check.  It has
been this way since 2008.  I checked all the callers and doi_def is
always non-NULL here.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9687c637
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment