diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-07-22 16:44:22 +0300 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2019-08-26 15:23:59 +0300 |
commit | 8a3665f72d77867745099178a40200dd548161e5 (patch) | |
tree | a5b06a1a8fd65bcd89ab04c611853309d1e6a501 /drivers/char | |
parent | c957c88f7be109a14294289f013b03bbe94e8af5 (diff) | |
download | linux-8a3665f72d77867745099178a40200dd548161e5.tar.xz |
fbdev: da8xx-fb: drop a redundant if
The driver data is always set in probe. The remove() callback won't be
called if probe failed which is the only way for it to be NULL. Remove
the redundant if.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions