-
由 Johan Hovold 提交于
The to_usb_serial_port() macro is implemented using container_of() so there's no need to check for NULL. Note that neither bus match() or probe() is ever called with a NULL struct device pointer so the checks weren't just misplaced. Reviewed-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: NUwe Kleine-König <uwe@kleine-koenig.org> Signed-off-by: NJohan Hovold <johan@kernel.org>
1542d132