soc/qman: Remove redundant checks from qman_create_cgr()
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Wed, 16 Nov 2016 14:40:23 +0000 (16:40 +0200)
committerScott Wood <oss@buserror.net>
Wed, 23 Nov 2016 07:23:45 +0000 (01:23 -0600)
commite5caf693ac6ac498ef05c7c1947024d5b678626f
treea6388fc3b0c8fc5366ef2aa51dc814469935922c
parent021ba010663146305b0ba51246a41223d38943af
soc/qman: Remove redundant checks from qman_create_cgr()

opts is checked redundantly.
Move local_opts declaration inside its usage scope.

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qbman/qman.c