Skip to content

Commit 3640463

Browse files
committed
style:removeing the said stray comments
1 parent fd4e2b8 commit 3640463

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

media_softlet/linux/common/codec/ddi/dec/ddi_decode_functions.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,6 @@ VAStatus DdiDecodeFunctions::StatusReport(
10551055
{
10561056
DecodeStatusReportData tempNewReport;
10571057
MOS_ZeroMemory(&tempNewReport, sizeof(tempNewReport));
1058-
//MOS_ZeroMemory(&tempNewReport, sizeof(CodechalDecodeStatusReport));
10591058
MOS_STATUS eStatus = decoder->GetStatusReport(&tempNewReport, 1);
10601059
DDI_CODEC_CHK_CONDITION(MOS_STATUS_SUCCESS != eStatus, "Get status report fail", VA_STATUS_ERROR_OPERATION_FAILED);
10611060

media_softlet/linux/common/os/i915/mos_bufmgr.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3506,11 +3506,6 @@ mos_gem_bo_create_from_prime(struct mos_bufmgr *bufmgr, struct mos_drm_bo_alloc_
35063506
bo_gem->bo.size=(unsigned long)sz;
35073507
else
35083508
bo_gem->bo.size = (unsigned long)size;
3509-
//ret = lseek(prime_fd, 0, SEEK_END);
3510-
//if (ret != -1)
3511-
// bo_gem->bo.size = ret;
3512-
// else
3513-
// bo_gem->bo.size = size;
35143509

35153510
bo_gem->bo.handle = handle;
35163511
bo_gem->bo.bufmgr = bufmgr;

media_softlet/linux/common/os/i915_production/mos_bufmgr.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3497,20 +3497,13 @@ mos_gem_bo_create_from_prime(struct mos_bufmgr *bufmgr, struct mos_drm_bo_alloc_
34973497
if(sz>=0) bo_gem->bo.size=(unsigned long)sz;
34983498
else
34993499
bo_gem->bo.size=(unsigned long)size;
3500-
/*
3501-
//ret = lseek(prime_fd, 0, SEEK_END);
3502-
//if (ret != -1)
3503-
// bo_gem->bo.size = ret;
3504-
//else
3505-
// bo_gem->bo.size = size;
3506-
*/
35073500

35083501
bo_gem->bo.handle = handle;
35093502
bo_gem->bo.bufmgr = bufmgr;
35103503

35113504
bo_gem->gem_handle = handle;
35123505

3513-
atomic_set(&bo_gem->refcount, 1);//
3506+
atomic_set(&bo_gem->refcount, 1);
35143507
bo_gem->name = alloc_prime->name;
35153508
bo_gem->validate_index = -1;
35163509
bo_gem->reloc_tree_fences = 0;

0 commit comments

Comments
 (0)