hardware/intel/intel-driver
リビジョン | eb06298ecadf53a752abbb99208a37bda3e90c30 (tree) |
---|---|
日時 | 2015-09-06 14:11:26 |
作者 | Lim Siew Hoon <siew.hoon.lim@inte...> |
コミッター | Xiang, Haihao |
Fix suspiciously placed semicolon at if statement.
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
@@ -564,8 +564,8 @@ gen6_mfc_init(VADriverContextP ctx, | ||
564 | 564 | mfc_context->mfc_indirect_pak_bse_object.bo = NULL; |
565 | 565 | |
566 | 566 | for (i = 0; i < NUM_MFC_DMV_BUFFERS; i++){ |
567 | - if ( mfc_context->direct_mv_buffers[i].bo != NULL); | |
568 | - dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo); | |
567 | + if (mfc_context->direct_mv_buffers[i].bo != NULL) | |
568 | + dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo); | |
569 | 569 | mfc_context->direct_mv_buffers[i].bo = NULL; |
570 | 570 | } |
571 | 571 |
@@ -458,8 +458,8 @@ static void gen75_mfc_init(VADriverContextP ctx, | ||
458 | 458 | mfc_context->mfc_indirect_pak_bse_object.bo = NULL; |
459 | 459 | |
460 | 460 | for (i = 0; i < NUM_MFC_DMV_BUFFERS; i++){ |
461 | - if ( mfc_context->direct_mv_buffers[i].bo != NULL); | |
462 | - dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo); | |
461 | + if (mfc_context->direct_mv_buffers[i].bo != NULL) | |
462 | + dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo); | |
463 | 463 | mfc_context->direct_mv_buffers[i].bo = NULL; |
464 | 464 | } |
465 | 465 |
@@ -511,8 +511,8 @@ static void gen8_mfc_init(VADriverContextP ctx, | ||
511 | 511 | mfc_context->mfc_indirect_pak_bse_object.bo = NULL; |
512 | 512 | |
513 | 513 | for (i = 0; i < NUM_MFC_DMV_BUFFERS; i++){ |
514 | - if ( mfc_context->direct_mv_buffers[i].bo != NULL); | |
515 | - dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo); | |
514 | + if (mfc_context->direct_mv_buffers[i].bo != NULL) | |
515 | + dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo); | |
516 | 516 | mfc_context->direct_mv_buffers[i].bo = NULL; |
517 | 517 | } |
518 | 518 |
@@ -435,8 +435,8 @@ static void gen9_mfc_init(VADriverContextP ctx, | ||
435 | 435 | mfc_context->mfc_indirect_pak_bse_object.bo = NULL; |
436 | 436 | |
437 | 437 | for (i = 0; i < NUM_MFC_DMV_BUFFERS; i++){ |
438 | - if ( mfc_context->direct_mv_buffers[i].bo != NULL); | |
439 | - dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo); | |
438 | + if (mfc_context->direct_mv_buffers[i].bo != NULL) | |
439 | + dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo); | |
440 | 440 | mfc_context->direct_mv_buffers[i].bo = NULL; |
441 | 441 | } |
442 | 442 |