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:
xypron.glpk@gmx.de 2016-05-18 20:40:51 +02:00 committed by David S. Miller
parent 7639dad93a
commit bbf178e0a0

View File

@ -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];