diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-19 16:08:02 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-20 08:18:27 +0100 |
commit | b2a3b02392836b8cc0aa4246d7496028911f1539 (patch) | |
tree | 125bf1beb4e1d05af7420d60871acae86939210e /sound/usb/line6/driver.h | |
parent | 10e3a023c97e67975812027c1a96db874be2e78d (diff) |
ALSA: line6: Remove CHECK_RETURN macro
Such a macro doesn't improve readability.
Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/driver.h')
-rw-r--r-- | sound/usb/line6/driver.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/usb/line6/driver.h b/sound/usb/line6/driver.h index 8e4d946a130c..f484aa09840b 100644 --- a/sound/usb/line6/driver.h +++ b/sound/usb/line6/driver.h @@ -48,13 +48,6 @@ #define LINE6_CHANNEL_MASK 0x0f -#define CHECK_RETURN(x) \ -do { \ - err = x; \ - if (err < 0) \ - return err; \ -} while (0) - #define CHECK_STARTUP_PROGRESS(x, n) \ do { \ if ((x) >= (n)) \ |