Messages in this thread |  | | Date | Fri, 1 Dec 2000 09:05:23 -0800 (PST) | From | "T. Camp" <> | Subject | Re: [PATCH] mutliple root devs (take II) |
| |
> 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 majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |