commit | 5c4217d05d3258fa9999ad959c9b6da791b70bfa | [log] [tgz] |
---|---|---|
author | Haiyang Zhang <haiyangz@microsoft.com> | Fri Sep 01 14:30:05 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 01 20:39:12 2017 -0700 |
tree | e99cb92b8ade45b0b5d6c36b23c62e1582fda513 | |
parent | 715e2ec532f6bffc8ee1cb9282c9e6cbf8809591 [diff] |
hv_netvsc: Simplify num_chn checking in rndis_filter_device_add() The minus one and assignment to a local variable is not necessary. This patch simplifies it. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>