usb: typec: tcpci_maxim: remove redundant assignment
[ Upstream commit a63b53e1 ] 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> Stable-dep-of: 0736299d ("usb: typec: tcpm/tcpci_maxim: Fix bounds check in process_rx()") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading