Commit 4f1a7a3e authored by Maxim Nikulin's avatar Maxim Nikulin Committed by Greg Kroah-Hartman
Browse files

USB: assign instead of equal in usbtmc.c



Assign operator instead of equality test in the usbtmc_ioctl_abort_bulk_in() function.

Signed-off-by: default avatarMaxim A. Nikulin <M.A.Nikulin@gmail.com>
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e94c587e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -268,7 +268,7 @@ usbtmc_abort_bulk_in_status:
				dev_err(dev, "usb_bulk_msg returned %d\n", rv);
				goto exit;
			}
		} while ((actual = max_size) &&
		} while ((actual == max_size) &&
			 (n < USBTMC_MAX_READS_TO_CLEAR_BULK_IN));

	if (actual == max_size) {