No, the shift *right* clears the bits.
Here's a 32 bit unsigned int:
xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
<< (18 - 11)
xxxxxxxx.xxxxxxxx.xxxxxxxx.x0000000
>> 18
00000000.00000000.00xxxxxx.xxxxxxxx
The bh_hash_mask is
00000000.00000000.00111111.11111111
So it is not needed.
Peter
-- _ x ___ / \_/_\_ /,--' p.steiner@t-online.de (Peter Steiner) \/>'~~~~// \_____/ signature V0.2 alpha- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/