Skip to content

Commit b8b2383

Browse files
jwrdegoedemchehab
authored andcommitted
media: atomisp: Drop dev_dbg() calls from hmm_[alloc|free]()
Debug logging every alloc + free just polutes the debug logs without adding much value, remove the alloc + free dev_dbg() calls. Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 41bcaff commit b8b2383

File tree

1 file changed

+0
-5
lines changed
  • drivers/staging/media/atomisp/pci/hmm

1 file changed

+0
-5
lines changed

drivers/staging/media/atomisp/pci/hmm/hmm.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ static ia_css_ptr __hmm_alloc(size_t bytes, enum hmm_bo_type type,
204204
goto bind_err;
205205
}
206206

207-
dev_dbg(atomisp_dev, "pages: 0x%08x (%zu bytes), type: %d, vmalloc %p\n",
208-
bo->start, bytes, type, vmalloc_noprof);
209-
210207
return bo->start;
211208

212209
bind_err:
@@ -231,8 +228,6 @@ void hmm_free(ia_css_ptr virt)
231228
{
232229
struct hmm_buffer_object *bo;
233230

234-
dev_dbg(atomisp_dev, "%s: free 0x%08x\n", __func__, virt);
235-
236231
if (WARN_ON(virt == mmgr_EXCEPTION))
237232
return;
238233

0 commit comments

Comments
 (0)