Commit 508330eb authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: atm: ueagle-atm: clean up urb->status usage

This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 9a5a3e95
...@@ -1308,11 +1308,13 @@ static void uea_intr(struct urb *urb) ...@@ -1308,11 +1308,13 @@ static void uea_intr(struct urb *urb)
{ {
struct uea_softc *sc = urb->context; struct uea_softc *sc = urb->context;
struct intr_pkt *intr = urb->transfer_buffer; struct intr_pkt *intr = urb->transfer_buffer;
int status = urb->status;
uea_enters(INS_TO_USBDEV(sc)); uea_enters(INS_TO_USBDEV(sc));
if (unlikely(urb->status < 0)) { if (unlikely(status < 0)) {
uea_err(INS_TO_USBDEV(sc), "uea_intr() failed with %d\n", uea_err(INS_TO_USBDEV(sc), "uea_intr() failed with %d\n",
urb->status); status);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment