diff options
author | Bartosz Golaszewski <[email protected]> | 2019-07-22 15:44:22 +0200 |
---|---|---|
committer | Sekhar Nori <[email protected]> | 2019-08-26 17:53:59 +0530 |
commit | 8a3665f72d77867745099178a40200dd548161e5 (patch) | |
tree | a5b06a1a8fd65bcd89ab04c611853309d1e6a501 /net/switchdev/switchdev.c | |
parent | c957c88f7be109a14294289f013b03bbe94e8af5 (diff) |
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 <[email protected]>
Acked-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions