ndis(4): Undo unneeded workarounds in ndis' rand().

- Revert the change for seed(0) in r300384. I misunderstood the standard
and while our random() implementation in libkern may be improved, it
handles the seed(0) case fine.

Pointed out by:	bde, ache
This commit is contained in:
Pedro F. Giffuni 2016-05-22 14:13:20 +00:00
parent 9d6672e13b
commit 91460148b2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300422

View File

@ -3196,8 +3196,6 @@ static void
srand(unsigned int seed)
{
if (seed == 0)
seed = 1;
srandom(seed);
}