mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Remove useless device dependency of HAS_AUDIO
System architecture dictates whether HAS_AUDIO is defined. It's then useless to check for HAS_AUDIO in files which are only used on those architectures which always have audio. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
8a91110738
commit
738012bec4
8 changed files with 0 additions and 26 deletions
|
@ -1973,13 +1973,11 @@ struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta,
|
|||
s->codec.txdrq = *drq;
|
||||
omap_eac_reset(s);
|
||||
|
||||
#ifdef HAS_AUDIO
|
||||
AUD_register_card("OMAP EAC", &s->codec.card);
|
||||
|
||||
iomemtype = cpu_register_io_memory(omap_eac_readfn,
|
||||
omap_eac_writefn, s);
|
||||
omap_l4_attach(ta, 0, iomemtype);
|
||||
#endif
|
||||
|
||||
return s;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue