Commit 3342b9680fbd6535f65148f5e95e581bc75be9cc

Authored by Julia Lawall
Committed by Takashi Iwai
1 parent 335e3b8687

sound/oss/sb_ess.c: delete double assignment

Delete successive assignments to the same location.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression i;
@@

*i = ...;
 i = ...;
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

... ... @@ -1722,7 +1722,6 @@
1722 1722 right = (value & 0x0000ff00) >> 8;
1723 1723 } else { /* Turn it off (3) */
1724 1724 left = 0;
1725   - left = 0;
1726 1725 right = 0;
1727 1726 }
1728 1727 sb_common_mixer_set(devc, i + ES_REC_MIXER_RECDIFF, left, right);