diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-11-19 09:44:59 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-11-20 15:41:00 +1000 |
commit | 66141d3d86f38701d657ef9ba973233bce53da79 (patch) | |
tree | 8e7ceaf10f6ab392baa2254461340870e21e9ea1 /drivers/gpu/drm/udl | |
parent | 8c5eaca012f963fa9724665f8a0eca19e3cb7d2a (diff) | |
download | blackbird-op-linux-66141d3d86f38701d657ef9ba973233bce53da79.tar.gz blackbird-op-linux-66141d3d86f38701d657ef9ba973233bce53da79.zip |
drm/drm_stub: Remove unnecessary null check before kfree.
kfree on a null argument is a no-op.
Silences the following smatch warning:
drivers/gpu/drm/drm_stub.c:496 drm_put_dev() info:
redundant null check on dev->devname calling kfree()
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/udl')
0 files changed, 0 insertions, 0 deletions