diff options
author | Jiri Slaby <jslaby@suse.cz> | 2020-08-18 10:57:01 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-18 13:45:21 +0200 |
commit | 6d507c75e0cd359e4cede48230fb7e7a45c9bb74 (patch) | |
tree | 29b7b8eea017b71501fb20f76ae8a8c6791f67a4 /drivers/usb | |
parent | 36c39220129e4048b6810dc732b49b4f23f2dcee (diff) |
vs_screen: kill tmp_count from vcs_read
Both tmp_count computations and the single use can be eliminated using
min(). Do so.
Side note: we need HEADER_SIZE to be unsigned for min() not to complain.
Fix that too as all its other uses do not mind.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200818085706.12163-11-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions