]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - sound/isa/sb/sb8.c
ALSA: sb8: Add a comment note regarding an unused pointer
[thirdparty/kernel/stable.git] / sound / isa / sb / sb8.c
index 95290ffe5c6e74862afc4ead1bca5ceb9e7dd5aa..ed3a87ebe3f4119cc0698dc3852471891826c03a 100644 (file)
@@ -93,7 +93,11 @@ static int snd_sb8_probe(struct device *pdev, unsigned int dev)
        acard = card->private_data;
        card->private_free = snd_sb8_free;
 
-       /* block the 0x388 port to avoid PnP conflicts */
+       /*
+        * Block the 0x388 port to avoid PnP conflicts.
+        * No need to check this value after request_region,
+        * as we never do anything with it.
+        */
        acard->fm_res = request_region(0x388, 4, "SoundBlaster FM");
 
        if (port[dev] != SNDRV_AUTO_PORT) {