projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a5a3e9
)
USB: atm: ueagle-atm: clean up urb->status usage
author
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 18 Jul 2007 17:58:02 +0000
(10:58 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 20 Jul 2007 00:46:06 +0000
(17:46 -0700)
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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/atm/ueagle-atm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/atm/ueagle-atm.c
b/drivers/usb/atm/ueagle-atm.c
index 8f046659b4e947990036968cc836bf69e8bc73e1..a1a1c9d467e028157c84289a9d92ccd0fe97c4b9 100644
(file)
--- a/
drivers/usb/atm/ueagle-atm.c
+++ b/
drivers/usb/atm/ueagle-atm.c
@@
-1308,11
+1308,13
@@
static void uea_intr(struct urb *urb)
{
struct uea_softc *sc = urb->context;
struct intr_pkt *intr = urb->transfer_buffer;
+ int status = urb->status;
+
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",
-
urb->
status);
+ status);
return;
}