Commit bbf178e0 authored by xypron.glpk@gmx.de's avatar xypron.glpk@gmx.de Committed by David S. Miller

net: pegasus: simplify logical constraint

If !count is true, count < 4 is also true.
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7639dad9
...@@ -473,7 +473,7 @@ static void read_bulk_callback(struct urb *urb) ...@@ -473,7 +473,7 @@ static void read_bulk_callback(struct urb *urb)
goto goon; goto goon;
} }
if (!count || count < 4) if (count < 4)
goto goon; goto goon;
rx_status = buf[count - 2]; rx_status = buf[count - 2];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment