diff options
| author | 2009-03-24 00:36:16 +0100 | |
|---|---|---|
| committer | 2009-03-24 00:36:16 +0100 | |
| commit | 9fb5430c3d6e96a74fd4406dbe7608f36abb9987 (patch) | |
| tree | 1c990d9f2f91f6daabbf2de957bea744dd2bcb71 /sound/oss/sequencer.c | |
| parent | Merge branch 'topic/msnd' into for-linus (diff) | |
| parent | sound/oss: fix sparse warning: symbol shadows an earlier one (diff) | |
| download | wireguard-linux-9fb5430c3d6e96a74fd4406dbe7608f36abb9987.tar.xz wireguard-linux-9fb5430c3d6e96a74fd4406dbe7608f36abb9987.zip | |
Merge branch 'topic/oss-fix' into for-linus
Diffstat (limited to 'sound/oss/sequencer.c')
| -rw-r--r-- | sound/oss/sequencer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/oss/sequencer.c b/sound/oss/sequencer.c index 5c215f787ca9..c79874696bec 100644 --- a/sound/oss/sequencer.c +++ b/sound/oss/sequencer.c @@ -212,7 +212,6 @@ int sequencer_write(int dev, struct file *file, const char __user *buf, int coun { unsigned char event_rec[EV_SZ], ev_code; int p = 0, c, ev_size; - int err; int mode = translate_mode(file); dev = dev >> 4; @@ -285,7 +284,7 @@ int sequencer_write(int dev, struct file *file, const char __user *buf, int coun { if (!midi_opened[event_rec[2]]) { - int mode; + int err, mode; int dev = event_rec[2]; if (dev >= max_mididev || midi_devs[dev]==NULL) |
