diff options
author | Joe Perches <joe@perches.com> | 2015-03-23 12:44:49 -0700 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-24 11:41:37 +0100 |
commit | 9a303dc7ba93769e96471158892b264042ddc3fc (patch) | |
tree | 69f29edc2be9efacd2a5e852052691029ce903df /sound/oss/v_midi.c | |
parent | 77008b70fe0a9ffe354580d9dfda329cdde7f20b (diff) | |
download | linux-9a303dc7ba93769e96471158892b264042ddc3fc.tar.bz2 |
sound: Deparenthesize negative error returns
Make the returns a bit more kernel standard style.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss/v_midi.c')
-rw-r--r-- | sound/oss/v_midi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/oss/v_midi.c b/sound/oss/v_midi.c index f0b4151d9b17..fc0ba276cc8f 100644 --- a/sound/oss/v_midi.c +++ b/sound/oss/v_midi.c @@ -49,13 +49,13 @@ static int v_midi_open (int dev, int mode, unsigned long flags; if (devc == NULL) - return -(ENXIO); + return -ENXIO; spin_lock_irqsave(&devc->lock,flags); if (devc->opened) { spin_unlock_irqrestore(&devc->lock,flags); - return -(EBUSY); + return -EBUSY; } devc->opened = 1; spin_unlock_irqrestore(&devc->lock,flags); |