diff options
| author | 2015-09-09 14:21:29 +0200 | |
|---|---|---|
| committer | 2015-09-09 15:03:38 +0200 | |
| commit | 26b91ae4732be89228d207c76827071c6aecc4d8 (patch) | |
| tree | b951f5a79313581c1ef383159947cd629b11f335 /lib/test-string_helpers.c | |
| parent | drm: Make drm_av_sync_delay() 'mode' argument const (diff) | |
| download | wireguard-linux-26b91ae4732be89228d207c76827071c6aecc4d8.tar.xz wireguard-linux-26b91ae4732be89228d207c76827071c6aecc4d8.zip | |
drm: simplify drm_sysfs_destroy() via IS_ERR_OR_NULL()
Simplify `foo == NULL || IS_ERR(foo)` via IS_ERR_OR_NULL(). This is
pretty commonly used all over the kernel, especially for debugfs/sysfs
cleanup paths.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
