summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorJulia Lawall2014-05-19 06:31:10 +0200
committerTakashi Iwai2014-05-19 10:08:43 +0200
commit47c9807425762a08ca93a2ac876eced8d290c94e (patch)
treef2f43a7dda3311efff57026a46c79b090ede858b /sound/pci
parentALSA: hda - if statement not indented (diff)
downloadkernel-qcow2-linux-47c9807425762a08ca93a2ac876eced8d290c94e.tar.gz
kernel-qcow2-linux-47c9807425762a08ca93a2ac876eced8d290c94e.tar.xz
kernel-qcow2-linux-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')
0 files changed, 0 insertions, 0 deletions