USB: serial: use variable for status

commit 3161da970d upstream.

This patch turns status in a variable read once from the URB.
The long term plan is to deliver status to the callback.
In addition it makes the code a bit more elegant.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Oliver Neukum 2016-07-14 15:01:40 +02:00 • committed by Ben Hutchings
commit 650ef8048e