After previous Peter patch, they are redundant. This way we don't
assign them except when needed. Once there, there were lots of case
where the ".fields" indentation was wrong:
.fields = (VMStateField []) {
and
.fields = (VMStateField []) {
Change all the combinations to:
.fields = (VMStateField[]){
The biggest problem (appart from aesthetics) was that checkpatch complained
when we copy&pasted the code from one place to another.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
|
||
|---|---|---|
| .. | ||
| Makefile.objs | ||
| alsaaudio.c | ||
| audio.c | ||
| audio.h | ||
| audio_int.h | ||
| audio_pt_int.c | ||
| audio_pt_int.h | ||
| audio_template.h | ||
| audio_win_int.c | ||
| audio_win_int.h | ||
| coreaudio.c | ||
| dsound_template.h | ||
| dsoundaudio.c | ||
| esdaudio.c | ||
| fmodaudio.c | ||
| mixeng.c | ||
| mixeng.h | ||
| mixeng_template.h | ||
| noaudio.c | ||
| ossaudio.c | ||
| paaudio.c | ||
| rate_template.h | ||
| sdlaudio.c | ||
| spiceaudio.c | ||
| wavaudio.c | ||
| wavcapture.c | ||
| winwaveaudio.c | ||