diff options
| author | Stephen Hemminger <stephen@networkplumber.org> | 2017-12-01 11:01:46 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-12-03 10:10:02 -0500 |
| commit | b85e06f7bb1a25dd2e7755d55a2ca313d24ae7ad (patch) | |
| tree | 96a06d5e05d762625396fb22a797f4c7188e6f61 /net/lapb/lapb_timer.c | |
| parent | 200a569990e1d54b8eed2fa817cbf4ba66fe9350 (diff) | |
hv_netvsc: replace divide with mask when computing padding
Packet alignment is always a power of 2 therefore modulus can
be replaced with a faster and operation
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
