aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_pp.c
diff options
context:
space:
mode:
authorTom Parkin <[email protected]>2020-07-24 15:31:51 +0000
committerDavid S. Miller <[email protected]>2020-07-25 00:19:14 +0000
commitce2f86ae253de3f3e961d4f91438604a97c29752 (patch)
treeba9e343a7de10b6767cd855576e5ad8c7d3d5b31 /drivers/gpu/drm/lima/lima_pp.c
parentl2tp: WARN_ON rather than BUG_ON in l2tp_dfs_seq_start (diff)
downloadkernel-ce2f86ae253de3f3e961d4f91438604a97c29752.tar.gz
kernel-ce2f86ae253de3f3e961d4f91438604a97c29752.zip
l2tp: remove BUG_ON in l2tp_session_queue_purge
l2tp_session_queue_purge is only called from l2tp_core.c, and it's easy to statically analyse the code paths calling it to validate that it should never be passed a NULL session pointer. Having a BUG_ON checking the session pointer triggers a checkpatch warning. Since the BUG_ON is of no value, remove it to avoid the warning. Signed-off-by: Tom Parkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_pp.c')
0 files changed, 0 insertions, 0 deletions