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>
这个提交包含在:
xypron.glpk@gmx.de
2016-05-18 20:40:51 +02:00
提交者 David S. Miller
父节点 7639dad93a
当前提交 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];