summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl_qbman/qman_low.h
diff options
context:
space:
mode:
authorEmil Medve <Emilian.Medve@Freescale.com>2014-01-08 10:00:45 (GMT)
committerEmilian Medve <Emilian.Medve@freescale.com>2014-01-10 16:50:37 (GMT)
commitbda181af9d35773174f8193ea7f92f332d6568ef (patch)
tree0f0c64963ee1c054eb5d9b09265dbac16b1041bc /drivers/staging/fsl_qbman/qman_low.h
parentfa6ec4fb10aa204781d3cd2c4b788cb0be047e0b (diff)
downloadlinux-fsl-qoriq-bda181af9d35773174f8193ea7f92f332d6568ef.tar.xz
fsl_qbman: Fix the checkpatch error type RETURN_PARENTHESES
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com> Change-Id: I10ad551ab9607994560dda64ca088f0c23190e1a Reviewed-on: http://git.am.freescale.net:8181/7768 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Haiying Wang <Haiying.Wang@freescale.com> Reviewed-by: Geoff Thorpe <Geoff.Thorpe@freescale.com> Reviewed-by: Emilian Medve <Emilian.Medve@freescale.com>
Diffstat (limited to 'drivers/staging/fsl_qbman/qman_low.h')
-rw-r--r--drivers/staging/fsl_qbman/qman_low.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fsl_qbman/qman_low.h b/drivers/staging/fsl_qbman/qman_low.h
index 17c0d5d..6f9a007 100644
--- a/drivers/staging/fsl_qbman/qman_low.h
+++ b/drivers/staging/fsl_qbman/qman_low.h
@@ -288,7 +288,7 @@ static inline int qm_eqcr_init(struct qm_portal *portal,
static inline unsigned int qm_eqcr_get_ci_stashing(struct qm_portal *portal)
{
- return ((qm_in(CFG) >> 28) & 0x7);
+ return (qm_in(CFG) >> 28) & 0x7;
}
static inline void qm_eqcr_finish(struct qm_portal *portal)