diff options
author | Emil Medve <Emilian.Medve@Freescale.com> | 2014-01-17 16:35:39 (GMT) |
---|---|---|
committer | Emil Medve <Emilian.Medve@Freescale.com> | 2014-01-22 18:38:55 (GMT) |
commit | c21109dae0bc9a4c73adbb193912090aaa2b8597 (patch) | |
tree | 0169b03376327421cad140dcef690613c903dd74 /drivers | |
parent | c35c6c890baef706c5e8e4a8085099589cb46a37 (diff) | |
download | linux-fsl-qoriq-c21109dae0bc9a4c73adbb193912090aaa2b8597.tar.xz |
fsl_qman: Remove dead code
This fixes the following smatch warning(s):
qm_shutdown_fq() info: ignoring unreachable code.
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Change-Id: I75c1dfbb61c6aad1a4e9c098f7da8a041353fdd6
Reviewed-on: http://git.am.freescale.net:8181/8174
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Haiying Wang <Haiying.Wang@freescale.com>
Reviewed-by: Emilian Medve <Emilian.Medve@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/fsl_qbman/qman_low.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/fsl_qbman/qman_low.h b/drivers/staging/fsl_qbman/qman_low.h index d3a8a00..2126085 100644 --- a/drivers/staging/fsl_qbman/qman_low.h +++ b/drivers/staging/fsl_qbman/qman_low.h @@ -1280,7 +1280,6 @@ static inline int qm_shutdown_fq(struct qm_portal **portal, int portal_count, return -1; } return 0; - break; case QM_MCR_NP_STATE_RETIRED: /* Send OOS Command */ mcc = qm_mc_start(portal[0]); @@ -1295,11 +1294,9 @@ static inline int qm_shutdown_fq(struct qm_portal **portal, int portal_count, return -1; } return 0; - break; case QM_MCR_NP_STATE_OOS: /* Done */ return 0; - break; } return -1; } |