diff options
author | Markus Elfring | 2016-07-22 14:45:51 +0200 |
---|---|---|
committer | Sean Paul | 2016-07-22 17:23:38 +0200 |
commit | 4cf090e10b7be0ebb0c4a06b93bd4cfaec1b6173 (patch) | |
tree | cce0359c68fa09f8e9946c9770d799c2cdc5766b /lib/llist.c | |
parent | GPU-DRM-GMA500: Delete unnecessary checks before two function calls (diff) | |
download | kernel-qcow2-linux-4cf090e10b7be0ebb0c4a06b93bd4cfaec1b6173.tar.gz kernel-qcow2-linux-4cf090e10b7be0ebb0c4a06b93bd4cfaec1b6173.tar.xz kernel-qcow2-linux-4cf090e10b7be0ebb0c4a06b93bd4cfaec1b6173.zip |
drm/bridge: ps8622: Delete an unnecessary check before backlight_device_unregister()
The backlight_device_unregister() function tests whether its argument
is NULL and then returns immediately.
Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/791089e4-201c-ad01-9c3b-f49835765177@users.sourceforge.net
Diffstat (limited to 'lib/llist.c')
0 files changed, 0 insertions, 0 deletions