diff options
| author | Benson Leung <bleung@chromium.org> | 2025-01-24 22:40:38 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-03 18:30:51 +0300 |
| commit | 9682c35ff6ecd76d9462d4749b8b413d3e8e605e (patch) | |
| tree | 32f522bdab9a1f4a6d251e9ea7a9fe89985b4278 /include/linux/platform_data | |
| parent | b51c1e8d2f49342b2087338c72511326fdb7b172 (diff) | |
| download | linux-9682c35ff6ecd76d9462d4749b8b413d3e8e605e.tar.xz | |
usb: typec: thunderbolt: Remove IS_ERR check for plug
Fixes these Smatch static checker warnings:
drivers/usb/typec/altmodes/thunderbolt.c:354 tbt_ready() warn: 'plug' is not an error pointer
Fixes: 100e25738659 ("usb: typec: Add driver for Thunderbolt 3 Alternate Mode")
Signed-off-by: Benson Leung <bleung@chromium.org>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/Z5PstnlA52Z1F2SU@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
