aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/quirks.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-04-14 10:44:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-14 15:15:40 +0200
commit434438d8f9d3f2bc8f404b937f87a70da3fbc7fb (patch)
tree0a937e70c1caa4740fb13a79a776892aeb22197c /drivers/usb/core/quirks.c
parentusb: dwc2: Add exit clock gating before removing driver (diff)
downloadlinux-dev-434438d8f9d3f2bc8f404b937f87a70da3fbc7fb.tar.xz
linux-dev-434438d8f9d3f2bc8f404b937f87a70da3fbc7fb.zip
usb: typec: silence a static checker warning
Smatch complains about a potential missing error code: drivers/usb/typec/port-mapper.c:168 typec_link_port() warn: missing error code 'ret' This is a false positive and returning zero is intentional. Let's re-arrange the code to silence the warning and make the intent more clear. Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/YHadaACH8Mq/10F7@mwanda Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions