Skip to content

Commit

Permalink
Sound:last.c: fix code syle trailing white space - modify printk()->n…
Browse files Browse the repository at this point in the history
…etdev_dbg() - Possible unnecessary KERN_INFO removed

Fixing coding style.

Signed-off-by: Federico Di Lembo <jack1989s@gmail.com>
  • Loading branch information
jacklapinza authored and intel-lab-lkp committed May 7, 2023
1 parent ee2dd70 commit 467a3e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sound/last.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ static int __init alsa_sound_last_init(void)
{
struct snd_card *card;
int idx, ok = 0;
printk(KERN_INFO "ALSA device list:\n");

netdev_dbg("ALSA device list:\n");
for (idx = 0; idx < SNDRV_CARDS; idx++) {
card = snd_card_ref(idx);
if (card) {
printk(KERN_INFO " #%i: %s\n", idx, card->longname);
netdev_dbg(" #%i: %s\n", idx, card->longname);
snd_card_unref(card);
ok++;
}
}
if (ok == 0)
printk(KERN_INFO " No soundcards found.\n");
netdev_dbg(" No soundcards found.\n");
return 0;
}

Expand Down

0 comments on commit 467a3e6

Please sign in to comment.