1
0
Files
linux/include
Eric Dumazet 8df09ea3b8 [SOCK] Avoid integer divides where not necessary in include/net/sock.h
Because sk_wmem_queued, sk_sndbuf are signed, a divide per two
may force compiler to use an integer divide.

We can instead use a right shift.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-28 14:59:59 -08:00
..
2007-12-17 19:28:16 -08:00
2007-11-28 01:24:04 +09:00
2008-01-22 00:35:23 +00:00
2008-01-25 21:08:29 +01:00
2008-01-27 18:14:46 +01:00