Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Greg Kroah-Hartman <gregkh@suse.de>

+4 -2
+4 -2
drivers/usb/atm/ueagle-atm.c
··· 1308 1308 { 1309 1309 struct uea_softc *sc = urb->context; 1310 1310 struct intr_pkt *intr = urb->transfer_buffer; 1311 + int status = urb->status; 1312 + 1311 1313 uea_enters(INS_TO_USBDEV(sc)); 1312 1314 1313 - if (unlikely(urb->status < 0)) { 1315 + if (unlikely(status < 0)) { 1314 1316 uea_err(INS_TO_USBDEV(sc), "uea_intr() failed with %d\n", 1315 - urb->status); 1317 + status); 1316 1318 return; 1317 1319 } 1318 1320