mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 09:22:37 +00:00
net: pegasus: simplify logical constraint
If !count is true, count < 4 is also true. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7639dad93a
commit
bbf178e0a0
@ -473,7 +473,7 @@ static void read_bulk_callback(struct urb *urb)
|
||||
goto goon;
|
||||
}
|
||||
|
||||
if (!count || count < 4)
|
||||
if (count < 4)
|
||||
goto goon;
|
||||
|
||||
rx_status = buf[count - 2];
|
||||
|
Loading…
Reference in New Issue
Block a user