From: Takashi Iwai Date: Fri, 24 Aug 2012 16:40:10 +0000 (+0200) Subject: ALSA: hda - Make clear built-in driver optimization X-Git-Tag: firefly_0821_release~3680^2~1845^2~78 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5d908ab941e90291b5c31d990bdb8e87fa3f7146;p=firefly-linux-kernel-4.4.55.git ALSA: hda - Make clear built-in driver optimization Use unsigned int to make clear that the codes required only for modules will be reduced by the compiler optimization. Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 4a2f35ccbf05..5f9da87d8762 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -808,7 +808,7 @@ find_codec_preset(struct hda_codec *codec) { struct hda_codec_preset_list *tbl; const struct hda_codec_preset *preset; - int mod_requested = 0; + unsigned int mod_requested = 0; if (is_generic_config(codec)) return NULL; /* use the generic parser */