summaryrefslogtreecommitdiffstats
path: root/sound/pci/fm801.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2014-05-19 06:31:10 +0200
committerTakashi Iwai <tiwai@suse.de>2014-05-19 10:08:43 +0200
commit47c9807425762a08ca93a2ac876eced8d290c94e (patch)
treef2f43a7dda3311efff57026a46c79b090ede858b /sound/pci/fm801.c
parentd576422eda7fc999bf7c9862fa0a75bf0323417f (diff)
downloadlinux-stable-47c9807425762a08ca93a2ac876eced8d290c94e.tar.gz
linux-stable-47c9807425762a08ca93a2ac876eced8d290c94e.tar.bz2
linux-stable-47c9807425762a08ca93a2ac876eced8d290c94e.zip
sound: mpu401.c: make return of 0 explicit
Delete unnecessary local variable whose value is always 0 and that hides the fact that the result is always 0. A simplified version of the semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ local idexpression ret; expression e; position p; @@ -ret = 0; ... when != ret = e return - ret + 0 ; // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/fm801.c')
0 files changed, 0 insertions, 0 deletions