mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00:00
sim: dv-sockser: localize init callback
Now that we don't need to hardcode the module init list in a single place, move the dv-sockser logic to the place to the one file.
This commit is contained in:
@@ -29,11 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#include "sim-hw.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DV_SOCKSER
|
||||
/* TODO: Shouldn't have device models here. */
|
||||
#include "dv-sockser.h"
|
||||
#endif
|
||||
|
||||
#include "libiberty.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
@@ -60,10 +55,6 @@ static MODULE_INSTALL_FN * const early_modules[] = {
|
||||
#if WITH_HW
|
||||
sim_hw_install,
|
||||
#endif
|
||||
#ifdef HAVE_DV_SOCKSER
|
||||
/* TODO: Shouldn't have device models here. */
|
||||
dv_sockser_install,
|
||||
#endif
|
||||
};
|
||||
static int early_modules_len = ARRAY_SIZE (early_modules);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user