modprobe: pull underscores() out of do_modprobe()
commit8829d1c5870bd9cc99631847b7f5e04d728a7a88
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Tue, 16 Mar 2010 13:36:36 +0000 (16 13:36 +0000)
committerAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Wed, 17 Mar 2010 10:24:58 +0000 (17 10:24 +0000)
tree2814c6c5d877b85bf4bac60d9f69c997b65bfffd
parent3e71c4c3919c3f38ad652f419e032572694ee4cb
modprobe: pull underscores() out of do_modprobe()

The softdep parser should probably have done the conversion already.

Both callers (do_softdep() and main()) are able to run underscores()
in-place.  So this means we don't need to allocate and free a copy.

It also makes the next commit easier.
modprobe.c