media: staging: atomisp: fixed trivial coding style issue
authorShy More <smklearn@gmail.com>
Mon, 17 Jul 2017 04:10:57 +0000 (00:10 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 20:29:05 +0000 (16:29 -0400)
Below was the trival error flagged by checkpatch.pl:
ERROR: space prohibited after that open parenthesis '('

Signed-off-by: Shy More <smklearn@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/ibuf_ctrl_rmgr.c

index bb9f5cd6b2afd343ac6db480933a7754f9712ca6..faef97672eac285b7e69f3b0373126eba3d7295e 100644 (file)
@@ -130,8 +130,7 @@ void ia_css_isys_ibuf_rmgr_release(
 
        for (i = 0; i < ibuf_rsrc.num_allocated; i++) {
                handle = getHandle(i);
-               if ((handle->start_addr == *start_addr)
-                   && ( true == handle->active)) {
+               if (handle->active && handle->start_addr == *start_addr) {
                        handle->active = false;
                        ibuf_rsrc.num_active--;
                        break;