diff options
| author | Junlin Yang <yangjunlin@yulong.com> | 2021-01-24 22:38:53 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-25 11:36:59 +0100 |
| commit | a63b53e19bdffd9338fab4536e8bc422ea812b4d (patch) | |
| tree | e0b51f618c02437aadfeca470af153f3a2433926 /tools/perf/scripts/python | |
| parent | usb: typec: tcpm: Create legacy PDOs for PD2 connection (diff) | |
| download | linux-a63b53e19bdffd9338fab4536e8bc422ea812b4d.tar.gz linux-a63b53e19bdffd9338fab4536e8bc422ea812b4d.zip | |
usb: typec: tcpci_maxim: remove redundant assignment
PTR_ERR(chip->tcpci) has been used as a return value,
it is not necessary to assign it to ret, so remove it.
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Junlin Yang <yangjunlin@yulong.com>
Link: https://lore.kernel.org/r/20210124143853.1630-1-angkery@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
