summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-07-22 16:44:22 +0300
committerSekhar Nori <nsekhar@ti.com>2019-08-26 15:23:59 +0300
commit8a3665f72d77867745099178a40200dd548161e5 (patch)
treea5b06a1a8fd65bcd89ab04c611853309d1e6a501 /drivers/char
parentc957c88f7be109a14294289f013b03bbe94e8af5 (diff)
downloadlinux-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