Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133172
b: refs/heads/master
c: e5bf484
h: refs/heads/master
v: v3
  • Loading branch information
Hannes Eder authored and Takashi Iwai committed Feb 26, 2009
1 parent aa425cf commit 5c6e7c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5d44aa4c7322e0cda6d71cc3f0dffaceea0daae5
refs/heads/master: e5bf48437370f3fc603e2dce12e8d3fb1a6a2457
3 changes: 1 addition & 2 deletions trunk/sound/oss/sequencer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 5c6e7c2

Please sign in to comment.