diff options
| author | Tom Parkin <[email protected]> | 2020-07-24 15:31:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-07-25 00:19:14 +0000 |
| commit | cd3e29b333cc2571a5875d1b45c460dc948a2f95 (patch) | |
| tree | b811f95e535e4ba7060c1cc60b9698ff8bd8425e /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | l2tp: remove BUG_ON in l2tp_session_queue_purge (diff) | |
| download | kernel-cd3e29b333cc2571a5875d1b45c460dc948a2f95.tar.gz kernel-cd3e29b333cc2571a5875d1b45c460dc948a2f95.zip | |
l2tp: remove BUG_ON in l2tp_tunnel_closeall
l2tp_tunnel_closeall is only called from l2tp_core.c, and it's easy
to statically analyse the code path calling it to validate that it
should never be passed a NULL tunnel pointer.
Having a BUG_ON checking the tunnel 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/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
