summaryrefslogtreecommitdiff
path: root/drivers/ptp/ptp_chardev.c
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2016-05-19 21:20:55 +0200
committerDavid S. Miller <davem@davemloft.net>2016-05-23 13:54:03 -0700
commit8da07a393f48864a87c61bb1dfbee640d9b97fd6 (patch)
treef78f9967a4109c2b9d751e84991ded81fb683f87 /drivers/ptp/ptp_chardev.c
parentc685293aa379b9d17e44fcc2f96a402b7648e838 (diff)
net: hns: avoid null pointer dereference
In the statement assert(priv || priv->ae_handle); the right side of || is only evaluated if priv is null. v2: As suggested by David Leight and David Miller the assert statements are removed. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp/ptp_chardev.c')
0 files changed, 0 insertions, 0 deletions