> indeed, much cleaner. But still not perfect.
> 
> > +   int root_device_index = 0;
> 
> this initialisation is not needed. Just make it 'int root_device_index;'
> The kernel will do the right thing for you on boot, trust me.
> 
> > +int number_root_devs = 0;
> 
> this is not needed either.
Hmm didn't know that, from the user-land portable C perspective I'm in the
habit of zero'ing everything. - thanks.

t.

Fear the future?  Change the past. 
 This message has resulted in an increase in the entropy of the universe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to