diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2010-10-05 17:38:12 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-10-11 13:50:10 +0200 |
commit | 1d2019fb6be2f318f0aa85be5f224f47a5f006fe (patch) | |
tree | 62d85b5c625b7279036a5e125ec2479298b448bc /sound/usb/usx2y/usx2yhwdeppcm.c | |
parent | OSS: soundcard: fix return value of sound_open() (diff) | |
download | linux-1d2019fb6be2f318f0aa85be5f224f47a5f006fe.tar.xz linux-1d2019fb6be2f318f0aa85be5f224f47a5f006fe.zip |
ALSA: sound/usb/usx2y: simplify conditional
Simplify conditional: (a || (!a && b)) => (a || b)
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usx2y/usx2yhwdeppcm.c')
-rw-r--r-- | sound/usb/usx2y/usx2yhwdeppcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/usx2y/usx2yhwdeppcm.c b/sound/usb/usx2y/usx2yhwdeppcm.c index 2a528e56afd5..3146a816068b 100644 --- a/sound/usb/usx2y/usx2yhwdeppcm.c +++ b/sound/usb/usx2y/usx2yhwdeppcm.c @@ -54,7 +54,7 @@ #include <linux/gfp.h> #include "usbusx2yaudio.c" -#if defined(USX2Y_NRPACKS_VARIABLE) || (!defined(USX2Y_NRPACKS_VARIABLE) && USX2Y_NRPACKS == 1) +#if defined(USX2Y_NRPACKS_VARIABLE) || USX2Y_NRPACKS == 1 #include <sound/hwdep.h> |