summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeodora Baluta <teobaluta@gmail.com>2013-10-25 12:00:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-28 14:34:42 -0700
commit0c457490ded4fd6529791b650f45091f05b4be45 (patch)
treedc6a4c0e98fe8bc7e128e908c83c0b8140bc8836
parent3717013a64ebbea30d2c1c3e74d211d4660fa01a (diff)
staging: rtl8187se: delete duplicated argument to |
This patch fixes the following coccinelle issue for a mask calculation: drivers/staging/rtl8187se/r8180_core.c:2552:44-54: duplicated argument to & or | Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Reviewed-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8187se/r8180_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c
index 8d767f35ce89..76a67386b927 100644
--- a/drivers/staging/rtl8187se/r8180_core.c
+++ b/drivers/staging/rtl8187se/r8180_core.c
@@ -2549,7 +2549,7 @@ short rtl8180_init(struct net_device *dev)
(priv->EarlyRxThreshold == 7 ?
RCR_ONLYERLPKT : 0);
- priv->IntrMask = IMR_TMGDOK | IMR_TBDER | IMR_THPDER |
+ priv->IntrMask = IMR_TMGDOK | IMR_TBDER |
IMR_THPDER | IMR_THPDOK |
IMR_TVODER | IMR_TVODOK |
IMR_TVIDER | IMR_TVIDOK |