OpenCloudOS-Kernel/drivers/gpu/drm/udl
Dan Carpenter 629f59ade8 drm/udl: delete dead code
The "unode" pointer cannot be NULL here and checking for it causes
Smatch warnings:

   drivers/gpu/drm/udl/udl_main.c:259 udl_get_urb_locked()
   warn: can 'unode' even be NULL?

Fortunately, it's just harmless dead code which can be removed.  It's
left over from commit c5c354a3a4 ("drm/udl: Fix inconsistent urbs.count
value during udl_free_urb_list()").

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/e0e35421-8746-43b6-971e-e25d1cd1d6a7@kili.mountain
2023-05-03 16:32:33 +02:00
..
Kconfig drm/shmem-helper: Switch to vmf_insert_pfn 2021-08-12 21:41:10 +02:00
Makefile drm/udl: Move connector to modesetting code 2022-10-07 13:45:47 +02:00
udl_drv.c drm/udl: Remove unnecessary include statements for drm_crtc_helper.h 2023-01-18 09:25:32 +01:00
udl_drv.h drm/udl: Add constants for commands 2022-10-07 13:47:40 +02:00
udl_main.c drm/udl: delete dead code 2023-05-03 16:32:33 +02:00
udl_modeset.c drm/udl: Remove unnecessary include statements for drm_crtc_helper.h 2023-01-18 09:25:32 +01:00
udl_proto.h drm/udl: Add constants for commands 2022-10-07 13:47:40 +02:00
udl_transfer.c drm/udl: Add constants for commands 2022-10-07 13:47:40 +02:00