]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit691f5062c98a514cad9fc23dfd3e7b9311287f63
treea6388fc3b0c8fc5366ef2aa51dc814469935922c
parentb13159e0890a5dceb667cb1cdb6a9e03cb63710e
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